Moved secrets to env vars to avoid expansion in run blocks #36
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 pushes + PRs | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| python-lint: | |
| name: Python lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository code | |
| uses: actions/checkout@v5 | |
| - name: Run Ruff | |
| uses: chartboost/ruff-action@v1 | |
| yaml-lint: | |
| name: YAML lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository code | |
| uses: actions/checkout@v5 | |
| - name: Install yamllint | |
| run: pip install yamllint | |
| - name: Run yamllint | |
| run: yamllint . -c .yamllint-config.yaml |