瀏覽代碼

Merge pull request #4699 from sashashura/patch-32

GitHub Workflows security hardening
Lauri Ojansivu 2 年之前
父節點
當前提交
344fa07316
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .github/workflows/test_suite.yml

+ 3 - 0
.github/workflows/test_suite.yml

@@ -6,6 +6,9 @@ on:
       - master
       - master
   pull_request:
   pull_request:
 
 
+permissions:
+  contents: read # to fetch code (actions/checkout)
+
 jobs:
 jobs:
 # the following are optional jobs and need to be configured according
 # the following are optional jobs and need to be configured according
 # to this project's settings:
 # to this project's settings: