Ver Fonte

Merge pull request #658 from crawford/permissions

Limit the permissions of the clippy action
Dario Nieuwenhuis há 2 anos atrás
pai
commit
7d224457d2
1 ficheiros alterados com 2 adições e 0 exclusões
  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'