restore original variables #17
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint cleanup.py script | |
| on: | |
| push: | |
| paths: | |
| - 'ci-deployment-cleanup/helm-chart/cleanup.py' | |
| pull_request: | |
| paths: | |
| - 'ci-deployment-cleanup/helm-chart/cleanup.py' | |
| permissions: | |
| contents: read | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Ruff | |
| run: pip install ruff | |
| - name: Run Ruff format check | |
| run: ruff format --check ci-deployment-cleanup/helm-chart/cleanup.py | |
| - name: Run Ruff linting | |
| run: ruff check ci-deployment-cleanup/helm-chart/cleanup.py |