Merge pull request #102 from kchenTTP/main #317
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: pr-quality-check | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
quality-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: "Install python dependencies" | |
run: "pip install pyyaml" | |
- name: "Quality check" | |
run: "python .github/scripts/validate/main.py" | |
- name: "Publish report" | |
if: always() | |
run: cat validation_report.md >> $GITHUB_STEP_SUMMARY | |