Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,21 @@ jobs:
# make commit with staged changes
git commit -m 'Update README.md with helm-docs'

# comet-ci App token: the README commit goes straight to main, which only the
# ruleset's bypass actors may do (GITHUB_TOKEN can't).
- name: Mint GitHub App token
id: app-token
uses: actions/create-github-app-token@v3.3.0
with:
client-id: ${{ vars.COMET_CI_APP_CLIENT_ID }}
private-key: ${{ secrets.COMET_CI_APP_PRIVATE_KEY }}
permission-contents: write

- name: Push changes
if: success()
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GH_PAT_TO_ACCESS_GITHUB_API }}
github_token: ${{ steps.app-token.outputs.token }}
branch: main

release:
Expand Down
Loading