Skip to content

Commit

Permalink
Fix release PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Mar 4, 2024
1 parent 8f4b6b4 commit c9e5a19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/theoplayer-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- 'release/theoplayer-**'
jobs:
deploy:
create-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -13,8 +13,9 @@ jobs:
fetch-depth: 1
- name: Check if pull request already exists
id: check_pr_exists
shell: bash
run: |
pr_exists = $(gh pr list --base main --head $GITHUB_REF --state open --limit 1 --json number --jq length)
pr_exists=$(gh pr list --base main --head $GITHUB_REF --state open --limit 1 --json number --jq length)
echo "result=$pr_exists\n" >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c9e5a19

Please sign in to comment.