build: harden sanitizer.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
pull/4734/head
Alex 2022-09-19 23:32:11 +02:00
parent f39606589e
commit 79c9c82026
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master ]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
job1:
name: adress-sanitizer