summaryrefslogtreecommitdiff
path: root/.github/workflows/lint-with-ruff.yml
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-09-10 12:39:10 +0530
committerGitHub <noreply@github.com>2024-09-10 10:09:10 +0300
commitd739a10ce278c5a2cbc2c7790ed36d0e54c2624e (patch)
tree4b49a5a91005c49ec7899ee4185fff8de44b47f8 /.github/workflows/lint-with-ruff.yml
parentec3ebe8890c60bbb6f657335c212ac7078dc731c (diff)
downloadvyos-1x-d739a10ce278c5a2cbc2c7790ed36d0e54c2624e.tar.gz
vyos-1x-d739a10ce278c5a2cbc2c7790ed36d0e54c2624e.zip
T6678: ruff lint workflow added (#4033)
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