From 473b9734083e4c4314fa8462ac0425a8547c2b54 Mon Sep 17 00:00:00 2001 From: Manuel Raimann Date: Fri, 30 Jan 2026 19:28:47 +0100 Subject: [PATCH] feat: add permissions for read access to contents in CI and scheduled workflows --- .github/workflows/ci.yml | 3 +++ .github/workflows/scheduled.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04a5f44..24e9a10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main, master] +permissions: + contents: read + env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index fec52c1..0dfdf62 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -5,6 +5,9 @@ on: - cron: "0 6 * * *" # Daily at 6:00 UTC workflow_dispatch: # Allow manual trigger +permissions: + contents: read + env: CARGO_TERM_COLOR: always