Explorar el Código

Merge pull request #658 from crawford/permissions

Limit the permissions of the clippy action
Dario Nieuwenhuis hace 2 años
padre
commit
7d224457d2
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      .github/workflows/clippy.yml

+ 2 - 0
.github/workflows/clippy.yml

@@ -9,6 +9,8 @@ jobs:
     runs-on: ubuntu-latest
     env:
       RUSTUP_TOOLCHAIN: stable
+    permissions:
+      checks: write
     steps:
       - uses: actions/checkout@v2
         if: github.event_name == 'pull_request_target'