Skip to content

Commit

Permalink
ci: use tiendabot to creater release. Hack to make on.release event t…
Browse files Browse the repository at this point in the history
…rigger release workflow
  • Loading branch information
andersliland committed Feb 5, 2024
1 parent 4d18ef0 commit 9aa9b22
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
# When you use the repository's GITHUB_TOKEN to perform tasks, events such as 'on.release'
# use in the Upload artifacts workflow wont be triggered.
# This prevents you from accidentally creating recursive workflow runs.
# We needed to use either a PAT og a GitHub App.
# https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
# TIENDABOT_ACCESS_TOKEN is a Personal Access Token (PAT) for the tiendabot user in kolonialno github org.
# This is a ugly hack but works for now.
token: ${{ secrets.TIENDABOT_ACCESS_TOKEN }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json

0 comments on commit 9aa9b22

Please sign in to comment.