During CI, invoke `ci.sh` the same way we'd recommend a developer to do so locally. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
19 lines
397 B
YAML
19 lines
397 B
YAML
name: Check commit message formatting
|
|
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 100
|
|
- uses: actions/setup-python@v6
|
|
- name: Check commit message formatting
|
|
run: tools/ci.sh commit_formatting_run
|