diff options
-rw-r--r-- | .github/workflows/darker-lint.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml index 5db2e83..c4ca348 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -2,16 +2,23 @@ name: Darker-Ruff Lint on: - pull_request: + pull_request_target: branches: - current +permissions: + pull-requests: write + contents: read + env: base_ref: ${{ github.event.pull_request.base.ref }} jobs: darker-lint: runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: read steps: - uses: actions/checkout@v4 with: |