2
0
Эх сурвалжийг харах

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

Alex 3 жил өмнө
parent
commit
ddb39dd0f4

+ 2 - 0
.github/workflows/main.yml

@@ -8,6 +8,8 @@ name: build
       - '5.5'
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
+permissions:
+  contents: read # to fetch code (actions/checkout)
 jobs:
   build:
     runs-on: ubuntu-latest