Merge pull request #4734 from sashashura/patch-7
GitHub Workflows security hardening
This commit is contained in:
3
.github/workflows/ccpp.yml
vendored
3
.github/workflows/ccpp.yml
vendored
@@ -6,6 +6,9 @@ on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
job:
|
||||
name: ${{ matrix.name }}-build-and-test
|
||||
|
||||
3
.github/workflows/sanitizer.yml
vendored
3
.github/workflows/sanitizer.yml
vendored
@@ -6,6 +6,9 @@ on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
job1:
|
||||
name: adress-sanitizer
|
||||
|
||||
Reference in New Issue
Block a user