diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 65d8bae..c066948 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -7,6 +7,7 @@ on: permissions: contents: write + releases: write concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -28,13 +29,12 @@ jobs: with: config: cliff.toml args: --latest --strip header - github_token: ${{ secrets.PAT_GITHUB }} + github_token: $GITHUB_TOKEN env: OUTPUT: release-notes.md - name: Create release uses: softprops/action-gh-release@v3 with: - token: ${{ secrets.RELEASE_TOKEN }} prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc') }} body_path: release-notes.md \ No newline at end of file