Sfoglia il codice sorgente

ci: fix insufficient permissions for github token in release workflow

Ivan Dyachkov 2 anni fa
parent
commit
f463f267cf
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  1. 7 0
      .github/workflows/release.yaml

+ 7 - 0
.github/workflows/release.yaml

@@ -20,7 +20,14 @@ jobs:
   upload:
     runs-on: ubuntu-22.04
     permissions:
+      contents: write
+      checks: write
       packages: write
+      actions: read
+      issues: read
+      pull-requests: read
+      repository-projects: read
+      statuses: read
     strategy:
       fail-fast: false
     steps: