Skip to content

Commit

Permalink
Repository dispatch send - 2
Browse files Browse the repository at this point in the history
Checking if fine-grained tokens work with repository dispatch.
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed Apr 26, 2024
1 parent 051ef66 commit 0d179f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_PAT_TAG }}" \
-H "Authorization: Bearer ${{ secrets.GH_FG_PAT_TAGS }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/MukuFlash03/nrel-openpath-join-page/dispatches \
-d '{"event_type":"tags-dispatch","client_payload":{"docker-image-tag":${{ steps.date.outputs.date }}}}'
-d '{"event_type":"dispatch-event","client_payload":{"unit":false,"integration":true}}'

0 comments on commit 0d179f1

Please sign in to comment.