We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 462f19e commit 8a6b936Copy full SHA for 8a6b936
1 file changed
.github/workflows/release.yml
@@ -11,13 +11,15 @@ on:
11
required: true
12
type: string
13
14
-permissions:
15
- contents: write
+# Deny all permissions by default; grant only what each job needs.
+permissions: {}
16
17
jobs:
18
release:
19
name: Create GitHub Release
20
runs-on: ubuntu-latest
21
+ permissions:
22
+ contents: write # create/update the GitHub Release and read the tagged ref
23
env:
24
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
25
steps:
0 commit comments