Explorar el Código

ci: fix insufficient permissions for github token in release workflow

Ivan Dyachkov hace 2 años
padre
commit
f463f267cf
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      .github/workflows/release.yaml

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

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