From 3ef61388382b5c715eaf1385c99d98be397014b4 Mon Sep 17 00:00:00 2001 From: Kim Gustyr <979078+khvn26@users.noreply.github.com> Date: Thu, 3 Dec 2026 14:41:50 +0000 Subject: [PATCH] ci: Add explicit GITHUB_TOKEN permissions to workflows Generated with [Linear](https://linear.app/flagsmith/agent-session/54057672-3c89-412e-8a34-3977429ed7b0) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com> --- .github/workflows/docker-publish-image.yml | 3 +++ .github/workflows/pull-request.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/docker-publish-image.yml b/.github/workflows/docker-publish-image.yml index b088e37..169e368 100644 --- a/.github/workflows/docker-publish-image.yml +++ b/.github/workflows/docker-publish-image.yml @@ -5,6 +5,9 @@ on: tags: - "*" +permissions: + contents: read + jobs: build-dockerhub: runs-on: ubuntu-latest diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 79b3c78..f6e508c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -7,6 +7,9 @@ on: pull_request: types: [opened, synchronize, reopened, ready_for_review] +permissions: + contents: read + jobs: test: if: github.event.pull_request.draft == false