Skip to content

Commit

Permalink
Merge pull request #18 from reload/token
Browse files Browse the repository at this point in the history
Fix use of GitHub token
  • Loading branch information
blyme authored Oct 25, 2023
2 parents f984ea5 + f9404f2 commit 84982e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: anothrNick/[email protected]
id: version
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
- name: Major version tag
Expand All @@ -33,7 +33,7 @@ jobs:
if: ${{ (steps.version.outputs.new_tag != '') }}
uses: ncipollo/release-action@v1
with:
token: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
generateReleaseNotes: true
tag: ${{ steps.major-version.outputs.tag }}
Expand All @@ -42,7 +42,7 @@ jobs:
if: ${{ (steps.version.outputs.new_tag != '') }}
uses: ncipollo/release-action@v1
with:
token: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true
tag: ${{ steps.version.outputs.new_tag }}
name: Release ${{ steps.version.outputs.new_tag }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
- name: JSTS Quality
uses: ./
with:
github_token: ${{ github.token }}
github_token: ${{ secrets.GITHUB_TOKEN }}
working_directory: ./test

0 comments on commit 84982e3

Please sign in to comment.