From c9e5a19bf788f0673933e4b78757e226f568569f Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Mon, 4 Mar 2024 13:17:11 +0100 Subject: [PATCH] Fix release PR workflow --- .github/workflows/theoplayer-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/theoplayer-release.yml b/.github/workflows/theoplayer-release.yml index cd7e9493725..066b243a3c1 100644 --- a/.github/workflows/theoplayer-release.yml +++ b/.github/workflows/theoplayer-release.yml @@ -4,7 +4,7 @@ on: branches: - 'release/theoplayer-**' jobs: - deploy: + create-pr: runs-on: ubuntu-latest steps: - name: Checkout @@ -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 }}