Skip to content

Commit

Permalink
ci: gh tokens in semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Sep 24, 2022
1 parent 64299bd commit a3047bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ jobs:
CLIENT_VERSION: ${{ steps.get_details.outputs.SOURCE_TAG }}
GO_VERSION: ${{ steps.get_details.outputs.GOVERSION }}
GORELEASER_CURRENT_TAG: ${{ steps.get_details.outputs.SOURCE_TAG }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_BRANCH: ${{ steps.get_details.outputs.SOURCE_BRANCH }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/smr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,7 @@ jobs:
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
if: github.event.inputs.git-ref == 'main'

0 comments on commit a3047bd

Please sign in to comment.