Skip to content

Commit

Permalink
use deploy key in tagging workflow
Browse files Browse the repository at this point in the history
This is required so the tag workflow can automatically trigger the
release workflow.
  • Loading branch information
SimonTheLeg committed Jul 20, 2022
1 parent 89a8765 commit 7e63f0c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: "0"
- name: bump semVer
uses: simontheleg/[email protected]
ssh-key: ${{ secrets.SEMVER_TAG_SSH_KEY }}
- name: tag
uses: simontheleg/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
label-major: merge-breaking
label-minor: merge-feature
label-patch: merge-fix
label-none: merge-none
# due to https://github.community/t/github-actions-workflow-not-triggering-with-tag-push/17053/8
# we have to actually use a deploy-key here, so that the release flows push.tags section is working
repo_token: ${{ secrets.GITHUB_TOKEN }}
label_major: merge-breaking
label_minor: merge-feature
label_patch: merge-fix
label_none: merge-none
repo_ssh_key: ${{ secrets.SEMVER_TAG_SSH_KEY}}

0 comments on commit 7e63f0c

Please sign in to comment.