Skip to content

Commit

Permalink
ci: add default gh token permissions to open PRs (#128)
Browse files Browse the repository at this point in the history
## What?

* [x] Add default `GITHUB_TOKEN` permissions to open PRs for
`release-please` workflow.

## Why?

To be able to use it to open PRs for `release-please` and run tests only
with cargo updates.
  • Loading branch information
antonbaliasnikov authored Feb 17, 2025
1 parent cac1ef5 commit 8949389
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Release

# Give permissions to the release-please to open, update PRs
# and commit to PRs the repository to update Cargo.lock
permissions:
contents: write
pull-requests: write
id-token: write

on:
push:
branches:
Expand Down

0 comments on commit 8949389

Please sign in to comment.