mirror of
https://github.com/aquasecurity/linux-bench.git
synced 2025-02-22 22:25:33 +01:00
34 lines
659 B
YAML
34 lines
659 B
YAML
name: YAML Linting
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- "*.md"
|
|
- "LICENSE"
|
|
- "NOTICE"
|
|
pull_request:
|
|
paths-ignore:
|
|
- "*.md"
|
|
- "LICENSE"
|
|
- "NOTICE"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
YAML-lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: YAML Lint
|
|
uses: ibiqlik/action-yamllint@v3.0.0
|
|
with:
|
|
config_data: |
|
|
extends: relaxed
|
|
rules:
|
|
# new-line-at-end-of-file:
|
|
# level: warning
|
|
trailing-spaces: disable
|
|
line-length: disable
|
|
new-lines:
|
|
level: warning
|