Browse code

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

Alex authored on 20/09/2022 15:12:22 • Victor Seva committed on 21/09/2022 07:29:31
Showing 1 changed files
... ...
@@ -6,6 +6,8 @@ name: checks_pr
6 6
       - master
7 7
   # Allows you to run this workflow manually from the Actions tab
8 8
   workflow_dispatch:
9
+permissions:
10
+  contents: read # to fetch code (actions/checkout)
9 11
 jobs:
10 12
   build:
11 13
     runs-on: ubuntu-latest