Merge branch 'mikecafarella:main' into main #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# 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' |