diff options
-rw-r--r-- | .github/workflows/darker-lint.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml index c4ca348..7d833d9 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -12,6 +12,7 @@ permissions: env: base_ref: ${{ github.event.pull_request.base.ref }} + head_ref: ${{ github.event.pull_request.head.ref }} jobs: darker-lint: @@ -37,4 +38,4 @@ jobs: - name: Analyze Code run: | - darker -r ${base_ref}... --check --diff --lint "ruff check" --isort --color ./src
\ No newline at end of file + darker -r ${base_ref}...${head_ref} --check --diff --lint "ruff check" --isort --color ./src
\ No newline at end of file |