summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-27 00:16:47 +0530
committerGitHub <noreply@github.com>2024-08-27 00:16:47 +0530
commit1aa5c1b0f209de718cecd9d532b100058f5b4d7a (patch)
treee488b3f04de1be4f566477ee471f33f702fef374 /.github/workflows
parentd70c2162e1a98aeee60de32ae8a1e24c187043a9 (diff)
parent0c5dc09041d5d8784e397fa010496b69b4261e52 (diff)
downloadvyos-workflow-test-temp-1aa5c1b0f209de718cecd9d532b100058f5b4d7a.tar.gz
vyos-workflow-test-temp-1aa5c1b0f209de718cecd9d532b100058f5b4d7a.zip
Merge pull request #32 from vyos/check-darker-ruff
T0000: test
Diffstat (limited to '.github/workflows')
-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