From d354c1417a54a153c9cbc99c7aeda944d72d2b9f Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Tue, 12 Oct 2021 17:21:31 -0700 Subject: [PATCH] Use PAT to trigger workflow. --- .github/workflows/pub_staging_pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pub_staging_pr.yml b/.github/workflows/pub_staging_pr.yml index 9e728a4..47458e2 100644 --- a/.github/workflows/pub_staging_pr.yml +++ b/.github/workflows/pub_staging_pr.yml @@ -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"}' \ No newline at end of file