feat(CI): check for badly formatted titles or missing/contradictory labels #2131
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: Check workflows | |
on: | |
pull_request: | |
paths: | |
- '.github/**' | |
merge_group: | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: suggester / actionlint | |
uses: reviewdog/action-actionlint@v1 | |
with: | |
tool_name: actionlint | |
fail_on_error: true | |
check_build_yml: | |
name: check workflows generated by build.in.yml | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: update workflows | |
run: | | |
cd .github/workflows/ | |
./mk_build_yml.sh | |
- name: suggester / build.in.yml | |
uses: reviewdog/action-suggester@v1 | |
with: | |
tool_name: mk_build_yml.sh | |
fail_on_error: true |