Skip to content

Commit e3c302d

Browse files
authored
Merge pull request #10 from ymgyt/ci-permissions
ci: add content write permission to cd workflow
2 parents 52dfea5 + b7ae0b4 commit e3c302d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cd.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ on:
33
tags:
44
- 'v*.*.*'
55

6+
# We need contents write permission to create release
7+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
8+
# https://github.com/taiki-e/upload-rust-binary-action/issues/15#issuecomment-1141252687
9+
permissions:
10+
contents: write
11+
612
name: cd
713

814
jobs:

0 commit comments

Comments
 (0)