Skip to content

Commit

Permalink
Use apalache bot for releases
Browse files Browse the repository at this point in the history
Otherwise the container publication action won't trigger when the
release is published.
  • Loading branch information
Shon Feder committed Oct 5, 2021
1 parent daa1d0b commit 987dc88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
java-version: 1.8
- name: Cut Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NOTE: We must not use the default GITHUB_TOKEN for auth here,
# or else CI won't run to publish the docker image from the resulting PR.
# See https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#workarounds-to-trigger-further-workflow-runs
GITHUB_TOKEN: ${{ secrets.APALACHE_BOT_TOKEN }}
HEAD_REF: ${{ github.head_ref }}
run: |
git config --global user.name "$GITHUB_ACTOR"
Expand Down

0 comments on commit 987dc88

Please sign in to comment.