Skip to content

Commit

Permalink
actions: replace trigger github token
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
asdwsda authored Mar 23, 2022
1 parent 9081dcc commit 52a2acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 52a2acc

Please sign in to comment.