summaryrefslogtreecommitdiff
path: root/.github/workflows/lint-with-ruff.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint-with-ruff.yml')
-rw-r--r--.github/workflows/lint-with-ruff.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lint-with-ruff.yml b/.github/workflows/lint-with-ruff.yml
new file mode 100644
index 000000000..00cc9ca1b
--- /dev/null
+++ b/.github/workflows/lint-with-ruff.yml
@@ -0,0 +1,14 @@
+name: Lint py code with ruff
+on:
+ pull_request_target:
+ branches:
+ - current
+
+permissions:
+ pull-requests: write
+ contents: read
+
+jobs:
+ ruff-lint:
+ uses: vyos/.github/.github/workflows/lint-with-ruff.yml@current
+ secrets: inherit