4-adding-workflows #12
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
--- | ||
name: ai-cfia workflows | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- closed | ||
- synchronize | ||
jobs: | ||
python-lint: | ||
name: workflow-lint-test-python | ||
uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-python.yml@main | ||
secrets: inherit | ||
mkd-check: | ||
name: workflow-markdown-check | ||
uses: ai-cfia/github-workflows/.github/workflows/workflow-markdown-check.yml@main | ||
with: # to pass inputs to called workflow | ||
config-file-path: '.mlc_config.json' | ||
secrets: inherit | ||
repo-validation: | ||
name: workflow-repo-standards-validation | ||
uses: ai-cfia/github-workflows/.github/workflows/workflow-repo-standards-validation.yml@main | ||
secrets: inherit | ||
# This job wat modified to use the default yamllint configuration | ||
# We needed to change the config of the main | ||
yaml-check: | ||
name: workflow-yaml-check | ||
uses: ai-cfia/github-workflows/.github/workflows/workflow-yaml-check.yml@main | ||
# I need to add the extends part to change the max line length | ||
input: | ||
config-file-path: ai-cfia/github-workflows/.yamllint.ymll@main | ||
secrets: inherit | ||