diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-09-06 14:31:29 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 14:31:29 +0530 |
commit | 2c067857e4ef3e7968a6001a1ae3224fae69c937 (patch) | |
tree | e47c3cf54bc675629ce34f0b441d82086394f329 | |
parent | e7bfd5e3c9d4f4c71e58b94021a2d0dd1411f260 (diff) | |
download | vyos-workflow-test-temp-2c067857e4ef3e7968a6001a1ae3224fae69c937.tar.gz vyos-workflow-test-temp-2c067857e4ef3e7968a6001a1ae3224fae69c937.zip |
Test
-rw-r--r-- | .github/workflows/ruff-lint.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/ruff-lint.yml b/.github/workflows/ruff-lint.yml index 3ca3f06..7f93ccd 100644 --- a/.github/workflows/ruff-lint.yml +++ b/.github/workflows/ruff-lint.yml @@ -10,25 +10,26 @@ jobs: pull-requests: write contents: read steps: - - name: Checkout head + - name: Checkout Head uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - - name: Setup python + - name: Setup Python uses: actions/setup-python@v5 with: python-version: '3.11' - - name: Lint + - name: Ruff Check uses: chartboost/ruff-action@491342200cdd1cf4d5132a30ddc546b3b5bc531b with: args: check changed-files: 'true' - - uses: chartboost/ruff-action@491342200cdd1cf4d5132a30ddc546b3b5bc531b + - name: Ruff Format + uses: chartboost/ruff-action@491342200cdd1cf4d5132a30ddc546b3b5bc531b if: always() with: args: format --diff |