mirror of
https://github.com/distribution/reference.git
synced 2026-10-28 10:15:29 +08:00
Merge pull request #3741 from sashashura/patch-1
GitHub Workflows security hardening
This commit is contained in:
commit
276d7f16ce
2 files changed
+10
No files matched your search
@@ -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:
|
||||
|
||||
@@ -8,6 +8,9 @@ on:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
scan-license:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in new issue
Block a user