GitHub Workflows security hardening (#11789)

This commit is contained in:
Alex 2022-09-20 11:28:07 +02:00 committed by GitHub
parent ecb0ba542b
commit 26d6063ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,9 @@ on:
branches:
- 'main'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
name: Run distribution tests

View File

@ -10,6 +10,9 @@ on:
- main
- branch_9x
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
# This runs all validation checks without tests.
checks: