summaryrefslogtreecommitdiff
path: root/.github/workflows/lint-with-ruff.yml
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2025-05-17 10:55:12 +0200
committerGitHub <noreply@github.com>2025-05-17 10:55:12 +0200
commit5bcc6dd64ad4baba359b82794a2f49ac7f51ebec (patch)
tree69ef161854a91f3ded9228a4b78a6d91df7220d1 /.github/workflows/lint-with-ruff.yml
parent8f072b6f193979becc27d9977eed7e97cb830f46 (diff)
parent8a69103b24ea9195f194f2cab40bbaa49a19f027 (diff)
downloadaccel-ppp-ng-current.tar.gz
accel-ppp-ng-current.zip
Merge pull request #1 from accel-ppp/T7461-add-reusable-actionsHEADcurrent
T7461: add reusable actions
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 0000000..44069c6
--- /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: accel-ppp/.github/.github/workflows/lint-with-ruff.yml@current
+ secrets: inherit