Skip to content

Commit

Permalink
Back to head_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Jul 10, 2024
1 parent 887f494 commit 061a767
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trigger-merge-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/$GITHUB_REPOSITORY/actions/workflows/merge-checks.yml/dispatches" \
-d '{"ref":"${{ github.event.pull_request.head.sha }}"}'
-d '{"ref":"${{ github.head_ref }}"}'
- name: Update merge-checks workflow run
if: ${{ !contains(github.event.*.labels.*.name, 'design-approved') }}
run: |
Expand All @@ -42,5 +42,5 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/$GITHUB_REPOSITORY/actions/workflows/merge-checks.yml/dispatches" \
-d '{"ref":"${{ github.event.pull_request.head.sha }}"}'
-d '{"ref":"${{ github.head_ref }}"}'
fi

0 comments on commit 061a767

Please sign in to comment.