Skip to content

Commit 056d9b0

Browse files
committed
fix action permissions (#717)
1 parent 9035b01 commit 056d9b0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release-note.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
# Only following types are handled by the action, but one can default to all as well
1212
types: [ opened, reopened, synchronize ]
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
update_release_draft:
1619
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: write
9+
710
jobs:
811
upload:
912
if: startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)