Skip to content

Pin stripe-mock to the SDK OpenAPI version - #2158

Merged
jar-stripe merged 2 commits into
masterfrom
pin-stripe-mock-openapi-version
Sep 29, 2026
Merged

jar-stripe merged 2 commits into
masterfrom
pin-stripe-mock-openapi-version

Conversation

@jar-stripe

Copy link
Copy Markdown
Contributor

Why?

Ensure CI runs stripe-mock with the spec and fixtures matching the SDK's checked-in OPENAPI_VERSION, including when that version changes in a pull request.

What?

Read OPENAPI_VERSION after checkout and pass it to the stripe-mock action through its openapi_version input.

See Also

Configuration

  • skip-changefile: This PR is not a user-facing change, so there's no changefile.

@jar-stripe
jar-stripe marked this pull request as ready for review September 28, 2026 21:27
@jar-stripe
jar-stripe requested a review from a team as a code owner September 28, 2026 21:27
@jar-stripe
jar-stripe requested review from kidus-stripe and a lite review from Copilot and removed request for a team September 28, 2026 21:27
@jar-stripe
jar-stripe enabled auto-merge (squash) September 28, 2026 21:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@jar-stripe
jar-stripe merged commit c6e6789 into master Sep 29, 2026
25 checks passed
@jar-stripe
jar-stripe deleted the pin-stripe-mock-openapi-version branch September 29, 2026 22:01
jar-stripe added a commit that referenced this pull request Sep 30, 2026
* Expand PHPDoc union parameter shapes (#2148)

* Expand PHPDoc union parameter shapes

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Link changelog entry to pull request

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Update 2026-09-15_unknown_expand-phpdoc-union-shapes.change.md

* Add migration guidance for PHPDoc union shapes

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Update migration guide for PHPDoc union shapes

Clarified instructions for updating reported arguments and local variable annotations in PHPDoc.

* empty

* Update 2026-09-15_unknown_expand-phpdoc-union-shapes.change.md

* Revise migration guide for v22 PHPDoc changes

Updated migration guide to reflect changes in PHPDoc union parameter shapes for version 22.

* update migration guide

* fix migration guide

* ⚠️ Drop support for PHP 7.2 and 7.3 (#2159)

* ⚠️ Drop support for PHP 7.2 and 7.3

Committed-By-Agent: goose
Orbit-Session-Id: 064fdd2c-3091-4e62-acfb-bd223d84afc9

* Add PHP 7.4 migration guidance

Committed-By-Agent: goose
Orbit-Session-Id: 064fdd2c-3091-4e62-acfb-bd223d84afc9

---------

Co-authored-by: Stripe SDK <noreply@github.com>
Co-authored-by: jar-stripe <jar@stripe.com>

* Revise migration guide for SDK v22 with new API details

Updated the migration guide for SDK v22 to reflect the new API version and provide links to the API release process and changelog.

* Pin stripe-mock to the SDK OpenAPI version (#2158)

---------

Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Co-authored-by: Stripe SDK <noreply@github.com>
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
jar-stripe added a commit that referenced this pull request Sep 30, 2026
* Expand PHPDoc union parameter shapes (#2148)

* Expand PHPDoc union parameter shapes

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Link changelog entry to pull request

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Update 2026-09-15_unknown_expand-phpdoc-union-shapes.change.md

* Add migration guidance for PHPDoc union shapes

Committed-By-Agent: goose
Orbit-Session-Id: e2e37587-a513-4fdd-b04a-9ecbdcf28cc0

* Update migration guide for PHPDoc union shapes

Clarified instructions for updating reported arguments and local variable annotations in PHPDoc.

* empty

* Update 2026-09-15_unknown_expand-phpdoc-union-shapes.change.md

* Revise migration guide for v22 PHPDoc changes

Updated migration guide to reflect changes in PHPDoc union parameter shapes for version 22.

* update migration guide

* fix migration guide

* ⚠️ Drop support for PHP 7.2 and 7.3 (#2159)

* ⚠️ Drop support for PHP 7.2 and 7.3

Committed-By-Agent: goose
Orbit-Session-Id: 064fdd2c-3091-4e62-acfb-bd223d84afc9

* Add PHP 7.4 migration guidance

Committed-By-Agent: goose
Orbit-Session-Id: 064fdd2c-3091-4e62-acfb-bd223d84afc9

---------

Co-authored-by: Stripe SDK <noreply@github.com>
Co-authored-by: jar-stripe <jar@stripe.com>

* Revise migration guide for SDK v22 with new API details

Updated the migration guide for SDK v22 to reflect the new API version and provide links to the API release process and changelog.

* Pin stripe-mock to the SDK OpenAPI version (#2158)

---------

Co-authored-by: jar-stripe <jar@stripe.com>
Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Co-authored-by: Stripe SDK <noreply@github.com>
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
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.

3 participants