Skip to content

Add pull_request trigger to CI workflow - #254

Merged
jamiecobbett merged 2 commits into
masterfrom
IX-2323-add-required-checks-to-public-repos
Aug 5, 2026
Merged

Add pull_request trigger to CI workflow#254
jamiecobbett merged 2 commits into
masterfrom
IX-2323-add-required-checks-to-public-repos

Conversation

@jamiecobbett

Copy link
Copy Markdown
Contributor

Summary

  • Adds a pull_request trigger alongside the existing push trigger so test/transpile run against fork PRs, not just pushes to the repo.
  • Restricts the push trigger to master only (post-merge publish flow is unaffected - it already gates on github.ref == 'refs/heads/master').

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, so requiring test/transpile in branch protection would otherwise block every external contribution.

Test plan

  • Confirm test and transpile appear as checks on this PR

Required to support requiring the test/transpile checks in branch
protection - a push-only trigger never runs against a fork PR's head
commit, which would block external contributions once the check is
required.
Gives branch protection a single, stable check name to require,
independent of what jobs the workflow happens to run - so adding a
matrix build or a lint job later only means updating this job's
needs list, not the required checks in Terraform.
@jamiecobbett
jamiecobbett merged commit 6ed8a8a into master Aug 5, 2026
7 checks passed
@jamiecobbett
jamiecobbett deleted the IX-2323-add-required-checks-to-public-repos branch August 5, 2026 16:59
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