We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7448ba commit 22e78b0Copy full SHA for 22e78b0
2 files changed
.github/workflows/draft-release.yml
@@ -16,6 +16,9 @@ on:
16
jobs:
17
draft-release:
18
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude
19
+ permissions:
20
+ contents: 'read'
21
+ pull-requests: 'write'
22
with:
23
version_strategy: '${{ github.event.inputs.version_strategy }}'
24
secrets:
.github/workflows/release.yml
@@ -6,11 +6,19 @@ on:
6
- 'main'
7
- 'release/**/*'
8
9
+defaults:
10
+ run:
11
+ shell: 'bash'
12
+
13
14
release:
15
uses: 'google-github-actions/.github/.github/workflows/release.yml@v3' # ratchet:exclude
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'
+ attestations: 'write'
+ contents: 'write'
+ packages: 'write'
publish:
needs:
0 commit comments