build: harden ccpp.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex
2022-09-19 23:31:58 +02:00
parent a165dbc6ff
commit f39606589e

View File

@@ -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