From f864785beab84f26e32a71cb6ed9a860813984ee Mon Sep 17 00:00:00 2001 From: Sekwah Date: Mon, 17 Jun 2024 00:58:09 +0100 Subject: [PATCH] chore: allow writing to pull requests --- .github/workflows/pre-commit-check.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre-commit-check.yaml b/.github/workflows/pre-commit-check.yaml index 3f916cf5..f4eeae27 100644 --- a/.github/workflows/pre-commit-check.yaml +++ b/.github/workflows/pre-commit-check.yaml @@ -13,6 +13,8 @@ concurrency: jobs: pre-commit-check: + permissions: + pull-requests: write if: github.event.action != 'labeled' || github.event.label.name == 'pre-commit ci run' name: Run pre-commit checks runs-on: ubuntu-20.04