-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (29 loc) · 984 Bytes
/
main.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
# This is a basic workflow to help you get started with Actions
name: Yaml Check
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: YAML Lint
uses: ibiqlik/[email protected]
with:
# File(s) or Directory, separate by space if multiple files or folder are specified
file_or_dir: config.yml
# Path to custom configuration
config_file: .yamllint.yaml # optional
# Custom configuration (as YAML source)
#config_data: # optional
# Format for parsing output [parsable,standard,colored,auto]
format: auto # optional, default is colored
# Return non-zero exit code on warnings as well as errors
strict: false # optional, default is false