Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

chore(release): use PAT for release PR creation (#283)

Corentin Thomassetf170ddd817b9
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 84077fb9..e2e1a474 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,6 +14,7 @@ jobs:
permissions:
contents: write
pull-requests: write
+ id-token: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -37,6 +38,7 @@ jobs:
publish: pnpm exec changeset publish
commit: "chore(release): update versions"
title: "chore(release): update versions"
+ commitMode: "github-api"
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
\ No newline at end of file