Skip to content

Add pull_request trigger and all-tests-passed aggregator job to CI workflow - #232

Merged
jamiecobbett merged 1 commit into
masterfrom
IX-2323-add-required-checks-to-public-repos
Aug 6, 2026
Merged

Add pull_request trigger and all-tests-passed aggregator job to CI workflow#232
jamiecobbett merged 1 commit into
masterfrom
IX-2323-add-required-checks-to-public-repos

Conversation

@jamiecobbett

@jamiecobbett jamiecobbett commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a pull_request trigger alongside the existing push trigger so tests run against fork PRs, not just pushes to the repo.
  • Restricts the push trigger to master only.
  • Adds an all-tests-passed job that depends on the whole test_library matrix (PHP 8.2-8.5) and fails if any entry didn't succeed.

Why

Part of IX-2323: setting up required status checks across GoCardless's public client library repos so we can safely enable auto-merge. A push-only trigger never runs against a fork PR's head commit, and the test_library matrix produces one check per PHP version - brittle to require individually since the list shifts whenever a version is added or dropped. all-tests-passed gives branch protection a single stable, fork-compatible check name to require.

Test plan

  • Confirm all-tests-passed appears and passes on this PR

…rkflow

A push-only trigger never runs against a fork PR's head commit, which
would block external contributions once a check from this workflow is
required in branch protection. The test_library job is also a matrix
over 4 PHP versions, producing one check per entry - brittle to require
individually since the list shifts whenever a PHP version is added or
dropped. The aggregator job depends on the whole matrix so branch
protection can require a single stable check name.
@jamiecobbett
jamiecobbett merged commit d3df4f9 into master Aug 6, 2026
5 checks passed
@jamiecobbett
jamiecobbett deleted the IX-2323-add-required-checks-to-public-repos branch August 6, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants