diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dfec8b99..a5c07eee5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,13 +5,11 @@ on: tags: - "v*.*.*" # Triggers on version tags like v1.0.0 -permissions: - contents: write - jobs: create_release: runs-on: ubuntu-latest - + permissions: + contents: write steps: - name: Checkout repository uses: actions/checkout@v3 @@ -19,10 +17,10 @@ jobs: - name: Create GitHub Release uses: ncipollo/release-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.RELEASE_ACTION }} tag: ${{ github.ref_name }} name: Release ${{ github.ref_name }} commit: ${{ github.sha }} draft: false prerelease: false - generateReleaseNotes: true + generateReleaseNotes: true \ No newline at end of file