forked from devcontainers/devcontainers.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (24 loc) · 641 Bytes
/
Copy pathlint.yml
File metadata and controls
26 lines (24 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: 'Lint collection-index.yml'
on:
pull_request:
paths:
- _data/collection-index.yml
permissions:
contents: read
pull-requests: write
jobs:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v6
- name: 'Yamllint'
uses: karancode/yamllint-github-action@v2.1.1
with:
yamllint_file_or_dir: _data/collection-index.yml
yamllint_strict: true
yamllint_config_filepath: .github/lint-config.yaml
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}