Skip to content

Commit

Permalink
Fix #11: Use release token to push tags
Browse files Browse the repository at this point in the history
  • Loading branch information
madhead committed Mar 27, 2021
1 parent dca8223 commit 46eebbb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:

- uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASES_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ jobs:
- run: git tag --force ${{ steps.parsedVersion.outputs.major }}
- run: git tag --force 'latest'

- run: git push --force --tags origin
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.RELEASES_GITHUB_TOKEN }}
tags: true
force: true

0 comments on commit 46eebbb

Please sign in to comment.