From 935557d5cbd944bb1b5ba75ec94674fa9e142776 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Mon, 6 Jul 2026 20:26:01 +0200 Subject: [PATCH] Fix broad permissions in the fix_lint.yaml workflow --- .github/workflows/fix_lint.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/fix_lint.yaml b/.github/workflows/fix_lint.yaml index 88decb33d9..7771a02c82 100644 --- a/.github/workflows/fix_lint.yaml +++ b/.github/workflows/fix_lint.yaml @@ -6,6 +6,9 @@ name: Attempt to automatically fix linting errors on: workflow_dispatch: +permissions: + contents: write + env: # We use nightly so that `fmt` correctly groups together imports, and # clippy correctly fixes up the benchmarks.