Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
push:
branches: [ main ]
pull_request:
# `edited` too: the title of a pull request becomes its squashed commit and the body stays public
# beside it, so the message gate reads both again whenever they change. No `concurrency` here:
# branch protection takes the run of the latest event, and cancelling one can leave it blocked.
types: [ opened, synchronize, reopened, edited ]

permissions:
contents: read
pull-requests: read

jobs:
test:
Expand All @@ -26,6 +31,11 @@ jobs:
php-version: ${{ matrix.php }}
coverage: xdebug

# The family's one copy of this gate lives in getmilpa/devtools. It reads this pull request's
# title, body and commits (or the commits a push added) and needs nothing from the checkout.
- name: Message gate (a commit speaks for its author alone)
uses: getmilpa/devtools/.github/actions/message-gate@main

- name: Validate composer.json
run: composer validate --strict

Expand Down
Loading