Skip to content

Commit

Permalink
Allow release workflow to trigger another workflow (#34)
Browse files Browse the repository at this point in the history
By default, if a GitHub workflow pushes a tag it will NOT trigger any other workflows that would normally trigger if the tag was pushed manually.

To trigger workflows a PAT must be used.

(Which is a bit rubbish!)
  • Loading branch information
big-andy-coates authored Jan 25, 2023
1 parent 7efa38b commit db885e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
token: ${{ secrets.TRIGGER_GITHUB_TOKEN }}
- name: Fetch version history
run: git fetch --tags --unshallow
- name: Set up JDK
Expand Down

0 comments on commit db885e2

Please sign in to comment.