Browse Source

build: harden sanitizer.yml permissions
Signed-off-by: Alex <[email protected]>

Alex 3 years ago
parent
commit
79c9c82026
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/sanitizer.yml

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

@@ -6,6 +6,9 @@ on:
   pull_request:
     branches: [ master ]
 
+permissions:
+  contents: read # to fetch code (actions/checkout)
+
 jobs:
   job1:
     name: adress-sanitizer