From 17a1cba01c3e7db4cc5478c5d020e27758d05280 Mon Sep 17 00:00:00 2001 From: memosr Date: Fri, 24 Jul 2026 23:12:26 +0300 Subject: [PATCH] chore(ci): add least-privilege permissions to ci.yml --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b655f8f..cd4e5c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,9 @@ env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 +permissions: + contents: read + jobs: # --------------------------------------------------------------------------- # Rust: fmt, deps, lint run in parallel -> unit tests after lint passes