Skip to content

Commit 2008702

Browse files
committed
fix: set contents: write for release and prerelease workflows
The automated_release workflow creates commits to update the changelog. The prerelease workflow uses GITHUB_TOKEN to upload release assets.
1 parent 09624f7 commit 2008702

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/automated_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88

99
permissions:
10-
contents: read
10+
contents: write
1111

1212
jobs:
1313
release_management:

.github/workflows/on_prerelease.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99

1010
permissions:
11-
contents: read
11+
contents: write
1212

1313
jobs:
1414
consumer-producer-image:

0 commit comments

Comments
 (0)