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 May 1, 2024
1 parent 47e3341 commit f49badd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-on-branch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
BRANCH_TO_MERGE: ${{ github.ref}}

- name: Get PR number
if: ${{ steps.check_branch_changes.outputs.IS_SAME_BRANCH}} == 'false'
if: steps.check_branch_changes.outputs.no_differences == 'false'
id: get_pr_number
run: |
PR_NUMBER=$(gh pr view ${{ github.ref_name }} --json number --jq '.number')
Expand All @@ -70,7 +70,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get the pull request data
if: ${{ steps.check_branch_changes.outputs.IS_SAME_BRANCH}} == 'false'
if: steps.check_branch_changes.outputs.no_differences == 'false'
run: |
gh api \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit f49badd

Please sign in to comment.