From 5a2a32981638d78559995532605ac41cfa3aa3d6 Mon Sep 17 00:00:00 2001 From: Mathieu Rabine Date: Sun, 15 Mar 2026 10:18:14 +0100 Subject: [PATCH 1/2] Add permissions to GitHub Actions workflow --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f010fa0..f4c49c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,10 @@ jobs: container: image: joinframework/join-ci:latest + permissions: + contents: read + actions: write + defaults: run: shell: bash From 31b72f8fd7864223ef4ea4b89cafebca5ab8b39a Mon Sep 17 00:00:00 2001 From: mrabine Date: Sun, 15 Mar 2026 10:25:23 +0100 Subject: [PATCH 2/2] add permissions --- .github/workflows/build.yml | 4 ---- .github/workflows/cd.yml | 4 ++++ .github/workflows/ci.yml | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4c49c1..f010fa0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,10 +26,6 @@ jobs: container: image: joinframework/join-ci:latest - permissions: - contents: read - actions: write - defaults: run: shell: bash diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e1033b6..d3cdb6c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,6 +10,10 @@ jobs: deploy: uses: ./.github/workflows/build.yml + permissions: + contents: read + actions: write + secrets: inherit with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47ed1fd..c47a6a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,3 +9,7 @@ on: jobs: check: uses: ./.github/workflows/build.yml + + permissions: + contents: read + actions: write