Merge pull request #3741 from sashashura/patch-1

GitHub Workflows security hardening
This commit is contained in:
Milos Gajdos authored and GitHub committed 2023-08-14 19:21:28 +01:00
commit 276d7f16ce
2 files changed
+10

No files matched your search

+7
View File
@@ -15,8 +15,15 @@ on:
- 'v*'
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
analyze:
permissions:
contents: read # to fetch code (actions/checkout)
security-events: write # to upload SARIF results (github/codeql-action/analyze)
name: Analyze
runs-on: ubuntu-latest
strategy:
+3
View File
@@ -8,6 +8,9 @@ on:
- pull_request
- push
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
scan-license:
runs-on: ubuntu-latest