فهرست منبع

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

Alex 3 سال پیش
والد
کامیت
f39606589e
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      .github/workflows/ccpp.yml

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

@@ -6,6 +6,9 @@ on:
   pull_request:
     branches: [ master ]
 
+permissions:
+  contents: read # to fetch code (actions/checkout)
+
 jobs:
   job:
     name: ${{ matrix.name }}-build-and-test