mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
e11de9dbeb
* chore(ci): add yamllint action * Create .yamllint.yml * Update verify-yaml.yml * Update verify-yaml.yml * Update verify-yaml.yml * Update verify-yaml.yml * Update verify-yaml.yml * correct yaml format * correct yamllint findings * disable truthy rule * add pattern for workflows yamls * fix c&p issue
26 lines
529 B
YAML
26 lines
529 B
YAML
name: YAML
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
|
|
- name: Install yamllint
|
|
run: pip install yamllint
|
|
|
|
- name: Lint YAML files
|
|
run: yamllint -c .yamllint.yml resources/metadata/*.y*ml .pipeline/config.yml .codeclimate.yml .markdownlint.yml .yamllint.yml .github/workflows/*.y*ml
|