Skip to content

Commit

Permalink
Try another sha
Browse files Browse the repository at this point in the history
  • Loading branch information
PlasmaPower committed Jul 10, 2024
1 parent ee850ef commit 887f494
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.sha }}"}'
-d '{"ref":"${{ github.event.pull_request.head.sha }}"}'
- 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.sha }}"}'
-d '{"ref":"${{ github.event.pull_request.head.sha }}"}'
fi

0 comments on commit 887f494

Please sign in to comment.