Use PAT to trigger workflow.

This commit is contained in:
awalsh128 2021-10-12 17:21:31 -07:00
parent 648e349c80
commit d354c1417a

View file

@ -14,6 +14,6 @@ jobs:
curl -i \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Authorization: token ${{ secrets.TRIGGER_PUBLISH_STAGING_PR_TOKEN }}" \
https://api.github.com/repos/awalsh128/cache-apt-pkgs-action-ci/dispatches \
-d '{"event_type":"staging_pull_request"}'
-d '{"event_type":"staging_pull_request"}'