From 79c9c820260b86586dc26c547a9efc08b40f7ada Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 19 Sep 2022 23:32:11 +0200 Subject: [PATCH] build: harden sanitizer.yml permissions Signed-off-by: Alex --- .github/workflows/sanitizer.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sanitizer.yml b/.github/workflows/sanitizer.yml index 750c17005..57d6e78f1 100644 --- a/.github/workflows/sanitizer.yml +++ b/.github/workflows/sanitizer.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [ master ] +permissions: + contents: read # to fetch code (actions/checkout) + jobs: job1: name: adress-sanitizer