Browse Source

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

Alex 3 năm trước cách đây
mục cha
commit
79c9c82026
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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