summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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