Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci: surface public API changes on pull requests#3274

Merged
nlemoine merged 1 commit into
2.xfrom
ci/api-surface-check
Jun 12, 2026
Merged

ci: surface public API changes on pull requests#3274
nlemoine merged 1 commit into
2.xfrom
ci/api-surface-check

Conversation

@nlemoine

Copy link
Copy Markdown
Member

Add composer/api-surface-check, which statically diffs the public API surface of changed PHP files and posts a summary comment on PRs. Split into a permissionless pull_request trigger and a workflow_run comment workflow so fork PRs are analyzed without granting them write access.

@nlemoine

nlemoine commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

Could provide useful insights when reviewing PRs. BC can be easily missed. From https://seld.be/notes/surfacing-public-api-changes/

We can give it a try and see if that fits.

Add composer/api-surface-check, which statically diffs the public API
surface of changed PHP files and posts a summary comment on PRs. Split
into a permissionless pull_request trigger and a workflow_run comment
workflow so fork PRs are analyzed without granting them write access.
@nlemoine nlemoine force-pushed the ci/api-surface-check branch from 5eb5277 to 47352b8 Compare June 12, 2026 10:54
@nlemoine nlemoine merged commit dfd0f2e into 2.x Jun 12, 2026
@nlemoine nlemoine deleted the ci/api-surface-check branch June 12, 2026 10:55
@gchtr

gchtr commented Jun 15, 2026

Copy link
Copy Markdown
Member

@nlemoine Awesome, thanks!

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