build: harden ccpp.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
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
|
||||
|
||||
Reference in New Issue
Block a user