2020-12-21 15:52:31 +00:00
|
|
|
name: YAML Linting
|
2020-12-21 15:48:53 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-12-21 15:52:31 +00:00
|
|
|
paths-ignore:
|
|
|
|
- "*.md"
|
|
|
|
- "LICENSE"
|
|
|
|
- "NOTICE"
|
2020-12-21 15:48:53 +00:00
|
|
|
pull_request:
|
2020-12-21 15:52:31 +00:00
|
|
|
paths-ignore:
|
|
|
|
- "*.md"
|
|
|
|
- "LICENSE"
|
|
|
|
- "NOTICE"
|
2020-12-21 15:48:53 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2020-12-21 15:52:31 +00:00
|
|
|
YAML-lint:
|
2020-12-21 15:48:53 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: YAML Lint
|
|
|
|
uses: ibiqlik/action-yamllint@v3.0.0
|
2020-12-21 15:57:43 +00:00
|
|
|
with:
|
|
|
|
config_data: |
|
2020-12-21 16:21:06 +00:00
|
|
|
extends: relaxed
|
2020-12-21 16:34:34 +00:00
|
|
|
rules:
|
2020-12-21 16:21:06 +00:00
|
|
|
# new-line-at-end-of-file:
|
|
|
|
# level: warning
|
2020-12-21 16:33:14 +00:00
|
|
|
trailing-spaces:
|
2020-12-21 16:36:13 +00:00
|
|
|
level: warning
|
2020-12-21 16:33:14 +00:00
|
|
|
line-length:
|
2020-12-21 16:36:13 +00:00
|
|
|
level: warning
|