summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-08-26 23:57:55 +0530
committerGitHub <noreply@github.com>2024-08-26 23:57:55 +0530
commitd25662df1690032d6789f8b4515e7c5c8af25e37 (patch)
tree8542fe85f79cb1909f5ec8cfb49020e117320727 /.github
parent42191a8f6a4efc248e973c1bc3a974474835b15e (diff)
downloadvyos-1x-d25662df1690032d6789f8b4515e7c5c8af25e37.tar.gz
vyos-1x-d25662df1690032d6789f8b4515e7c5c8af25e37.zip
T6678: added darker ruff linting workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-with-darker-ruff.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lint-with-darker-ruff.yml b/.github/workflows/lint-with-darker-ruff.yml
new file mode 100644
index 000000000..01f7cd448
--- /dev/null
+++ b/.github/workflows/lint-with-darker-ruff.yml
@@ -0,0 +1,14 @@
+name: Lint py code with darker and ruff
+on:
+ pull_request_target:
+ branches:
+ - current
+
+permissions:
+ pull-requests: write
+ contents: read
+
+jobs:
+ darker-ruff-lint:
+ uses: vyos/.github/.github/workflows/lint-with-darker-ruff.yml@current
+ secrets: inherit