1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/.github/workflows/verify-yaml.yml
renovate[bot] 882dcc7b41
chore(deps): update styfle/cancel-workflow-action action to v0.11.0 (#4447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-21 16:29:13 +02:00

27 lines
580 B
YAML

name: YAML
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.11.0
- uses: actions/checkout@master
- uses: actions/setup-python@v4
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