瀏覽代碼

Merge pull request #658 from crawford/permissions

Limit the permissions of the clippy action
Dario Nieuwenhuis 2 年之前
父節點
當前提交
7d224457d2
共有 1 個文件被更改,包括 2 次插入0 次删除
  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'