summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-27 00:15:57 +0530
committerGitHub <noreply@github.com>2024-08-27 00:15:57 +0530
commit0c5dc09041d5d8784e397fa010496b69b4261e52 (patch)
treee488b3f04de1be4f566477ee471f33f702fef374
parent8bb8c0f7a26891cf400483d0a364ea49da672643 (diff)
downloadvyos-workflow-test-temp-0c5dc09041d5d8784e397fa010496b69b4261e52.tar.gz
vyos-workflow-test-temp-0c5dc09041d5d8784e397fa010496b69b4261e52.zip
T0000: test
-rw-r--r--.github/workflows/darker-lint.yml3
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