forked from jsonresume/resume-schema
-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 957 Bytes
/
yaml-lint.yml
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
27
28
29
30
31
32
33
34
35
36
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Yaml Lint"
on: # yamllint disable-line rule:truthy
push:
paths:
- "**.yml"
- "**.yaml"
pull_request:
paths:
- "**.yml"
- "**.yaml"
jobs:
yaml-lint:
name: "Yaml lint"
runs-on: "ubuntu-latest"
steps:
- name: "Git checkout"
uses: "actions/checkout@v2"
with:
fetch-depth: 2
env:
GIT_COMMITTER_NAME: "GitHub Actions Shell"
GIT_AUTHOR_NAME: "GitHub Actions Shell"
EMAIL: "github-actions[bot]@users.noreply.github.com"
- name: "Lint YAML files"
uses: "ibiqlik/action-yamllint@v3"
with:
config_file: ".yamllint.yaml"
file_or_dir: "."
strict: true