From 9402f8c104e5f695eb988aa1029b3485b67062b6 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 20 Sep 2022 12:05:20 +0200 Subject: [PATCH] build: harden main-ci.yml permissions Signed-off-by: Alex --- .github/workflows/main-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 7d59bf14..3fed3b05 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -11,6 +11,9 @@ on: schedule: - cron: '0 0 * * 0' +permissions: + contents: read # to fetch code (actions/checkout) + jobs: build-php: # Don't trigger on schedule event when in a fork