summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-26 17:20:33 +0530
committerGitHub <noreply@github.com>2024-08-26 17:20:33 +0530
commit504fc8b634637b8a13e99a892a2566c2448d647f (patch)
tree02ed94c6a4782e7ee6a6e67c55d67d809343ead0
parentaa94c8c6a2678aaf59f7ef3b9277ab7aff2bb4b2 (diff)
downloadvyos-workflow-test-temp-504fc8b634637b8a13e99a892a2566c2448d647f.tar.gz
vyos-workflow-test-temp-504fc8b634637b8a13e99a892a2566c2448d647f.zip
T0000: test
-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