Bladeren bron

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

Alex 3 jaren geleden
bovenliggende
commit
8064a1d3cd
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      .github/workflows/pull_request.yml

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

@@ -6,6 +6,8 @@ name: checks_pr
       - master
   # 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