Browse code

build: harden main.yml permissions Signed-off-by: Alex <aleksandrosansan@gmail.com>

Alex authored on 20/09/2022 15:11:59
Showing 1 changed files
... ...
@@ -8,6 +8,8 @@ name: build
8 8
       - '5.5'
9 9
   # Allows you to run this workflow manually from the Actions tab
10 10
   workflow_dispatch:
11
+permissions:
12
+  contents: read # to fetch code (actions/checkout)
11 13
 jobs:
12 14
   build:
13 15
     runs-on: ubuntu-latest