From 4f0b13cc37bda5893f74151321d43d4e514b9b86 Mon Sep 17 00:00:00 2001 From: Lev Levitsky Date: Tue, 8 Oct 2024 15:31:51 +0200 Subject: [PATCH] Add permissions for black --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2afc5..997af11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,11 @@ on: jobs: PythonBlack: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 + permissions: + pull-requests: write + steps: + - uses: actions/checkout@v4 - name: Check code lints with Black uses: psf/black@stable