Skip to content

Commit c1c930f

Browse files
committed
fix: Grant permissions to bump workflow caller
1 parent 9a30b83 commit c1c930f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/bump.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ jobs:
3232
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3333

3434
- name: Install tomato-toml
35-
run: cargo install tomato-toml --locked
35+
uses: baptiste0928/cargo-install@b687c656bda5733207e629b50a22bf68974a0305 # v3.3.2
36+
with:
37+
crate: tomato-toml
38+
locked: true
3639

3740
- name: Calculate next version
3841
id: version

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ jobs:
5656
bump: patch
5757
secrets:
5858
PLOTNIK_PAT: ${{ secrets.PLOTNIK_PAT }}
59+
permissions:
60+
contents: write
61+
pull-requests: write

0 commit comments

Comments
 (0)