Skip to content

Commit

Permalink
Merge pull request #19 from reload/token
Browse files Browse the repository at this point in the history
Use a GitHub personal access token
  • Loading branch information
blyme authored Oct 25, 2023
2 parents 9efab59 + 85323c3 commit 1a67922
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: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_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: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT_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: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT_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: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.PAT_TOKEN }}
working_directory: ./test

0 comments on commit 1a67922

Please sign in to comment.