From 13e9609c75afefa0d6194a3a2add6748aa23b727 Mon Sep 17 00:00:00 2001 From: Peter Matkovski Date: Wed, 8 Jul 2026 14:56:46 +0200 Subject: [PATCH] CI: add least-privilege permissions to GitHub Actions workflows Refs: APPSEC-164 Co-authored-by: Cursor --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fd02c9..b2f2bf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} cancel-in-progress: true +permissions: + actions: write + contents: read + pull-requests: read + jobs: build-and-test: if: "!contains(github.event.head_commit.message, '[skip ci]')"