Skip to content

Commit

Permalink
Update pr-on-branch-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ines-gimeno-molina authored Apr 30, 2024
1 parent 457416e commit ce3c123
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr-on-branch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ce3c123

Please sign in to comment.