Skip to content

Commit 35bdeab

Browse files
chore: fix workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent c16cb9d commit 35bdeab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: "release"
2+
permissions: {contents: read}
23

34
on: {
45
"push": {
@@ -47,6 +48,7 @@ jobs: {
4748
],
4849
},
4950
release: {
51+
permissions: {contents: write},
5052
"runs-on": "ubuntu-latest",
5153
"needs": "build",
5254
"steps": [

0 commit comments

Comments
 (0)