Skip to content

Commit 4c40f0a

Browse files
committed
ci(cd): use permission in action
1 parent 5b1cc0a commit 4c40f0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test-and-release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ permissions:
88
id-token: write
99
contents: write
1010
issues: write
11+
actions: write
1112

1213
env:
1314
CI: 1
@@ -71,7 +72,7 @@ jobs:
7172
- name: Trigger release workflow
7273
if: steps.semantic-release.outcome == 'success'
7374
env:
74-
GITHUB_TOKEN: ${{ secrets.CD_TOKEN }}
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7576
run: gh workflow run cd.yaml
7677

7778
- name: Clean up End-to-End test resources

0 commit comments

Comments
 (0)