Skip to content

Commit

Permalink
chore: use PAT instead of default GitHub token
Browse files Browse the repository at this point in the history
  • Loading branch information
Xzelsius authored Jun 10, 2024
1 parent e6da7e2 commit 47bff9a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: release
on:
workflow_dispatch:

permissions: {}

env:
NUGET_PACKAGES: '${{ github.workspace }}/.nuget/packages'

Expand All @@ -16,10 +14,6 @@ jobs:
group: ${{ github.workflow }}
cancel-in-progress: false

permissions:
contents: write
issues: write

steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
Expand Down Expand Up @@ -48,4 +42,4 @@ jobs:
dotnet nuke CreateRelease \
--github-token $GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

0 comments on commit 47bff9a

Please sign in to comment.