Skip to content

Commit

Permalink
ci: use a PAT for release-please (#41)
Browse files Browse the repository at this point in the history
The default GitHub token cannot run checks on the PRs opened by
release-please. We change the secret to a personal access one.

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
  • Loading branch information
fcanovai authored Jul 4, 2024
1 parent edc095b commit 84312d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
# manually also for 1.0.0.
- run: |
npx release-please release-pr \
--token="${{ secrets.GITHUB_TOKEN }}" \
--token="${{ secrets.REPO_PAT }}" \
--repo-url="${{ github.repository }}" \
--bump-minor-pre-major=true \
--release-as=0.1.0 \
--signoff "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>";
--signoff "Peggie <info@cloudnative-pg.io>";
npx release-please github-release \
--token="${{ secrets.GITHUB_TOKEN }}" \
--token="${{ secrets.REPO_PAT }}" \
--repo-url="${{ github.repository }}" \

0 comments on commit 84312d3

Please sign in to comment.