Skip to content

Commit 392518e

Browse files
authored
chore: update workflow permissions (#457)
1 parent f8bd1b6 commit 392518e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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:

0 commit comments

Comments
 (0)