From 52a2acc15e32bc963cccb4d1d075ebc7d7a41e3b Mon Sep 17 00:00:00 2001 From: Peter Szabo Date: Wed, 23 Mar 2022 15:46:46 +0100 Subject: [PATCH] actions: replace trigger github token Previously used GITHUB_TOKEN is generated by the workflow for one-time use, and only has access to pke repo. That's been replaced by a PAT of banzaicloud-build user. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a954ed4..1af9e22 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: - name: Trigger pke-image build uses: actions/github-script@v6 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.TRIGGER_GH_TOKEN }} script: | await github.rest.actions.createWorkflowDispatch({ owner: 'banzaicloud',