feat: Add FluxCD GitOps templates and OpenMCP resources #2
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 and Kustomization | |
| on: | |
| pull_request: | |
| paths: | |
| - "templates/**.yaml" | |
| - "templates/**.yml" | |
| - "templates/**/kustomization.yaml" | |
| push: | |
| paths: | |
| - "templates/**.yaml" | |
| - "templates/**.yml" | |
| - "templates/**/kustomization.yaml" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Install yamllint | |
| run: pip install yamllint | |
| - name: Lint YAML files | |
| run: yamllint templates/ |