diff --git a/.github/workflows/pr-on-branch-push.yml b/.github/workflows/pr-on-branch-push.yml index 29c6205..31038cf 100644 --- a/.github/workflows/pr-on-branch-push.yml +++ b/.github/workflows/pr-on-branch-push.yml @@ -40,7 +40,9 @@ jobs: - name: Get PR number id: get_pr_number run: | - PR_NUMBER=$(gh pr view ${{ github.ref_name }} --jq '.number') + echo $(gh pr view ${{ github.ref_name }} --json number) + echo $(gh pr view ${{ github.ref_name }} --json number --jq '.number') + PR_NUMBER=$(gh pr view ${{ github.ref_name }} --json number --jq '.number') echo "PR Number: $PR_NUMBER" echo "::set-output name=pr_number::$PR_NUMBER" env: