Skip to content

Commit 132fa35

Browse files
committed
feat(ci): update jobs
1 parent 6d851a5 commit 132fa35

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ on:
55
branches:
66
- main
77

8-
permissions:
9-
contents: write
10-
packages: write
11-
id-token: write
12-
pull-requests: write
13-
148
jobs:
159

1610
release-please:
1711
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
issues: write
15+
pull-requests: write
1816
outputs:
1917
release_created: ${{ steps.release.outputs.release_created }}
2018
steps:
@@ -25,7 +23,13 @@ jobs:
2523

2624
go-releaser:
2725
runs-on: ubuntu-latest
26+
needs:
27+
- release-please
2828
if: ${{ needs.release-please.outputs.release_created == 'true' }}
29+
permissions:
30+
contents: write
31+
packages: write
32+
id-token: write
2933
steps:
3034

3135
- name: Checkout

0 commit comments

Comments
 (0)