summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/darker-lint.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml
index 4183b93..23841dd 100644
--- a/.github/workflows/darker-lint.yml
+++ b/.github/workflows/darker-lint.yml
@@ -20,9 +20,17 @@ jobs:
run: |
pip install --upgrade darker~=2.1.1
- - name: analyze
+ - name: Fetch current branch
run: |
- darker -r current .
+ git fetch origin current:current
+
+ - name: Analyze Code with Darker
+ run: |
+ darker -r current HEAD .
+
+ # - name: analyze
+ # run: |
+ # darker -r current .
# - name: Get head commit ID
# id: get-head-commit