| name: 'Yamllint GitHub Actions' | |
| on: | |
| - pull_request | |
| jobs: | |
| yamllint: | |
| name: 'Yamllint' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@master | |
| - name: 'Yamllint model gallery' | |
| uses: karancode/yamllint-github-action@master | |
| with: | |
| yamllint_file_or_dir: 'gallery' | |
| yamllint_strict: false | |
| yamllint_comment: true | |
| env: | |
| GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: 'Yamllint Backend gallery' | |
| uses: karancode/yamllint-github-action@master | |
| with: | |
| yamllint_file_or_dir: 'backend' | |
| yamllint_strict: false | |
| yamllint_comment: true | |
| env: | |
| GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} |