Skip to content

Commit 51f183e

Browse files
authored
Chore: Update workflow permissions (#327)
1 parent 02551d4 commit 51f183e

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Plugins - CD
22
run-name: Deploy ${{ inputs.branch }} to ${{ inputs.environment }} by @${{ github.actor }}
3-
permissions: {}
3+
permissions:
4+
attestations: write
5+
contents: write
6+
id-token: write
47

58
on:
69
workflow_dispatch:

.github/workflows/push.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Plugins - CI
2-
permissions: {}
2+
permissions:
3+
contents: read
4+
id-token: write
35

46
on:
57
push:

.github/workflows/update-make-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Update `make docs` procedure
2-
permissions: {}
2+
permissions:
3+
contents: write
4+
pull-requests: write
35

46
on:
57
schedule:

0 commit comments

Comments
 (0)