From dbaa3dbd52e22b8811a8e82657efeb1d3fa0ba49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Sch=C3=A4fer?= Date: Tue, 21 Oct 2025 01:59:52 +0200 Subject: [PATCH] ci(actions): add permissions section to workflows --- .github/workflows/cicd.yml | 3 +++ .github/workflows/linting.yml | 3 +++ .github/workflows/test.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 21765ee1..9aab3199 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,5 +1,8 @@ name: CI/CD Pipeline +permissions: + contents: read + on: push: tags: diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 31db63ea..15474255 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -1,5 +1,8 @@ name: ESLint +permissions: + contents: read + on: pull_request: paths: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eb5e03f5..c40689bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ name: Run Tests +permissions: + contents: read + on: pull_request: branches: