From 9bc4cbe8490e88175525a65dab5018e95356c5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sat, 21 May 2022 17:27:29 +0200 Subject: [PATCH] Explicitly define global permissions for the GitHub token --- .github/workflows/main.yml | 2 ++ .github/workflows/rebuild-latest-release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae727f7..bc4c932 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,8 @@ on: branches: ['*'] workflow_dispatch: +permissions: {} + jobs: build: diff --git a/.github/workflows/rebuild-latest-release.yml b/.github/workflows/rebuild-latest-release.yml index d589f02..5966faa 100644 --- a/.github/workflows/rebuild-latest-release.yml +++ b/.github/workflows/rebuild-latest-release.yml @@ -5,6 +5,8 @@ on: - cron: '20 04 * * 1' workflow_dispatch: +permissions: {} + jobs: trigger-rebuild: