Bump aws-actions/amazon-ecr-login from 9238dd443b7a5941caf19ffbe68be34d4dbd61df to d63b14614fe5d7fc5e5e52c523dea4e876816cc4 #290
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: "Infra: Workflow linter" | |
| on: | |
| pull_request: | |
| types: ["opened", "reopened", "synchronize"] | |
| paths: | |
| - ".github/workflows/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-workflows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1e31de5234b9f8995739874a8ce0492dc87873e2 # infered from @v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| token: ${{ github.token }} | |
| - name: Install yamllint | |
| run: sudo apt install -y yamllint | |
| - name: Validate workflow yaml files | |
| run: yamllint .github/workflows/. -d relaxed -f github --no-warnings |