From d739a10ce278c5a2cbc2c7790ed36d0e54c2624e Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:39:10 +0530 Subject: T6678: ruff lint workflow added (#4033) --- .github/workflows/lint-with-darker-ruff.yml | 14 -------------- .github/workflows/lint-with-ruff.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 .github/workflows/lint-with-darker-ruff.yml create mode 100644 .github/workflows/lint-with-ruff.yml (limited to '.github') diff --git a/.github/workflows/lint-with-darker-ruff.yml b/.github/workflows/lint-with-darker-ruff.yml deleted file mode 100644 index 01f7cd448..000000000 --- a/.github/workflows/lint-with-darker-ruff.yml +++ /dev/null @@ -1,14 +0,0 @@ -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 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 -- cgit v1.2.3