Browse Source

Merge pull request #658 from crawford/permissions

Limit the permissions of the clippy action
Dario Nieuwenhuis 2 years ago
parent
commit
7d224457d2
1 changed files with 2 additions and 0 deletions
  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'