From cd80e84da1dbcebddedf852657f6280254fc6c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me?= Date: Fri, 7 Aug 2026 12:40:04 -0400 Subject: [PATCH] ci: reduce ci permissions to read only + gist for tests Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 670af35..7138bd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,17 @@ on: pull_request: branches: [master] +permissions: + contents: read + env: CARGO_TERM_COLOR: always jobs: test: + permissions: + contents: read + gist: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v7