-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 758 Bytes
/
lint.yaml
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
33
34
35
---
# This workflow will lint all YAML and Docker files
name: Global File Linting
# yamllint disable-line rule:truthy
on:
workflow_call:
push:
paths:
- '**.yaml'
- '**.yml'
- '**/Dockerfile*'
branches: ['main']
pull_request:
paths:
- '**.yaml'
- '**.yml'
- '**/Dockerfile*'
branches: ['main']
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
lintYaml:
name: Lint YAML Files
uses: darpa-askem/.github/.github/workflows/lint-yaml.yaml@main
with:
strict: false
lintDocker:
name: Lint Docker Files
uses: darpa-askem/.github/.github/workflows/lint-docker.yaml@main
with:
failure-threshold: 'error'