summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/darker-lint.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml
index e3104d8..8e61ddb 100644
--- a/.github/workflows/darker-lint.yml
+++ b/.github/workflows/darker-lint.yml
@@ -40,8 +40,9 @@ jobs:
run: |
git fetch origin ${{ github.event.pull_request.base.sha }}:refs/remotes/origin/base
git fetch origin ${{ github.event.pull_request.head.sha }}:refs/remotes/origin/head
-
+ git branch temp-base refs/remotes/origin/temp-base
+ git branch temp-head refs/remotes/origin/temp-head
- name: Analyze Code
run: |
- darker -r origin/base...origin/head --check --diff --lint "ruff check" --color . \ No newline at end of file
+ darker -r temp-base...temp-head --check --diff --lint "ruff check" --color . \ No newline at end of file