Skip to content

Commit cdf59bc

Browse files
[ci] Keep required tests reporting after wiki pointer commits (#230) (#231)
* [ci] Keep required tests reporting after wiki pointer commits (#230) * Update wiki submodule pointer for PR #231 * [changelog] Move test-check fix after release (#230) * [ci] Cancel superseded test runs after scope detection (#230) * [ci] Run required PR tests without path filters (#230) --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e43b8b4 commit cdf59bc

5 files changed

Lines changed: 19 additions & 8 deletions

File tree

.github/wiki

Submodule wiki updated from fc94a14 to 13a8152

.github/workflows/tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,7 @@ on:
2626
type: number
2727
default: -1
2828
pull_request:
29-
paths:
30-
- 'src/**'
31-
- 'tests/**'
32-
- 'composer.json'
33-
- 'composer.lock'
34-
- '.github/actions/**'
35-
- '.github/workflows/tests.yml'
29+
types: [opened, synchronize, reopened]
3630
push:
3731
branches: [ "main" ]
3832

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Keep required PHPUnit matrix checks reporting after workflow-managed `.github/wiki` pointer commits by running the pull-request test workflow without top-level path filters and aligning the packaged consumer test wrapper (#230)
13+
1014
## [1.21.0] - 2026-04-24
1115

1216
### Changed

docs/advanced/branch-protection-and-bot-commits.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ should either allow the workflow token to update PR branches or require authors
9696
to refresh generated pointers manually. The preferred path is to allow bot
9797
updates on PR branches while keeping ``main`` protected.
9898

99+
Required test checks must still report for workflow-managed pointer commits.
100+
The tests workflow therefore triggers on every pull request update without
101+
top-level path filters. This ensures GitHub always creates the required
102+
``Run Tests`` matrix checks for the latest pull request head, including bot
103+
commits that only refresh ``.github/wiki``. Test workflow concurrency cancels
104+
older in-progress runs for the same pull request so the newest commit owns the
105+
required check contexts.
106+
99107
At a high level, the workflows need permission to read repository contents,
100108
write generated preview commits, update pull request comments, and publish Pages
101109
content. Keep those permissions scoped to the workflow jobs that actually need

resources/github-actions/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: "Fast Forward Test Suite"
22

33
on:
44
push:
5+
pull_request:
6+
types:
7+
- opened
8+
- synchronize
9+
- reopened
510
workflow_dispatch:
611
inputs:
712
max-outdated:

0 commit comments

Comments
 (0)