Skip to content

Commit e00129f

Browse files
Chore: update workflow permissions (#335)
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com>
1 parent fd980d3 commit e00129f

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)