Skip to content

Commit

Permalink
Merge pull request #132 from H1rono/release-with-pat
Browse files Browse the repository at this point in the history
🔧 Release with `PAT`
  • Loading branch information
H1rono authored Jan 26, 2024
2 parents 58163df + df7060c commit 33f4249
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:

name: Release

permissions:
contents: write

jobs:
check-main-branch:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,4 +38,4 @@ jobs:
release_note="$(cat CHANGELOG.md | python3 .github/workflows/filter-changelog.py '${{ github.ref_name }}')"
gh release create ${{ github.ref_name }} -d -t ${{ github.ref_name }} -n "$release_note"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.PAT }}

0 comments on commit 33f4249

Please sign in to comment.