summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-28 00:53:14 +0530
committerGitHub <noreply@github.com>2024-08-28 00:53:14 +0530
commit21c27ba9849a54508601fc09c8ac9767175405e4 (patch)
treececff1321e7b9302e12935e3d2e09569cb3e4a1c
parent45f111495a5f930f9799f07e63f86cda2df4b387 (diff)
downloadvyos-workflow-test-temp-21c27ba9849a54508601fc09c8ac9767175405e4.tar.gz
vyos-workflow-test-temp-21c27ba9849a54508601fc09c8ac9767175405e4.zip
T0000: test 4
-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