WIP: feat(linuxaid-agents): ArgoCD Helm chart running the OpenVox agent per node #386
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 YAML | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| paths: | |
| - '**/*.yml' | |
| - '**/*.yaml' | |
| - '.yamllint' | |
| permissions: | |
| contents: read | |
| # This will only allow a single markdownlint action to run per PR. | |
| # Any github action running on the older commits will be aborted. | |
| concurrency: | |
| group: yamllint-${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| yamllint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7.0.1 | |
| with: | |
| fetch-depth: 1 | |
| # Sparse checkout will only pull the specified files instead of the entire repo | |
| # This saves around 4s per run. | |
| # Sparse checkout sometimes pulls all files | |
| # https://github.com/actions/checkout/issues/1550 | |
| # Add a new step to test sparse-checkout if it fails as mentioned in the above issue | |
| # - name: Temp | |
| # working-directory: . | |
| # run: ls -la .server | |
| # shell: bash | |
| sparse-checkout: | | |
| '**/*.yml' | |
| '**/*.yaml' | |
| .yamllint | |
| sparse-checkout-cone-mode: false | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: '3.14' | |
| - name: Install yamllint | |
| run: pip install --disable-pip-version-check yamllint==1.38.0 | |
| - name: Run yamllint | |
| run: yamllint --strict --config-file .yamllint . |