Skip to content

chore(github-action): update action oasdiff/oasdiff-action (v0.1.23 → v0.2.1) - #33613

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-github-actions
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-github-actions

Conversation

@renovate

@renovate renovate Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change Pending
oasdiff/oasdiff-action action minor v0.1.23 → v0.2.1 v0.2.3 (+1)

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

oasdiff/oasdiff-action

v0.2.1

Compare Source

Highlights

Each change in the pull-request comment links to its side-by-side diff

Every row of the changes table in the comment now ends with a view link. It opens the review on that change, with the old and new spec side by side, so a reviewer goes from a line in the comment straight to the lines that changed (#​223). It applies with and without an oasdiff-token. The check id and its description are on the review page, one click away.

Upgraded to oasdiff v1.39.0

Every action now runs on oasdiff v1.39.0, which corrects how nullability changes are reported:

  • A change made through a oneOf or anyOf is decided by what the whole schema accepts. Adding null to a second oneOf branch takes null away from the property, and it is now reported as request-property-became-not-nullable at error level.
  • With flatten-allof, nullable: true beside an allOf is kept, so removing it is reported. It reported nothing before.

Some pull requests will show different results than with v0.2.0, including new errors where a breaking change was missed.

Fixes

  • The Pro review comment no longer shows a review state that can go out of date. With an oasdiff-token, the comment said "Review required" and kept saying it after the changes were approved, because the comment is only written when the job runs. It now points to the oasdiff status check, which is updated when a reviewer approves or rejects (#​222).

Full Changelog: oasdiff/oasdiff-action@v0.2.0...v0.2.1

v0.2.0

Compare Source

The pull-request comment now lists the changes, and oasdiff Pro is the action you already run with a token added. Two behaviors of the changelog action change; see "Upgrading" below.

Highlights

The PR comment lists the changes

The comment the breaking and changelog actions post used to be a link to the review. It now says how many changes there are and lists them, most severe first, each with its check id and endpoint. Five rows stay open and up to fifty more collapse under them, so a reviewer reads what changed without leaving the pull request (#​214).

⚠️ 3 breaking changes in this pull request

severity change endpoint
error removed the success response with the status 200 response-success-status-removed POST /api/v1.0/groups
...
Pro on the breaking action

oasdiff Pro used to need the changelog action. With an oasdiff-token, breaking now uploads an authenticated review of the breaking changes, posts the review comment and sets the oasdiff commit status, so upgrading a workflow built on breaking is one input and one permission (#​216):

permissions:
  contents: read
  pull-requests: write
  statuses: write

# ...
      - uses: oasdiff/oasdiff-action/breaking@v0.2.0
        with:
          base: 'origin/${{ github.base_ref }}:openapi.yaml'
          revision: 'HEAD:openapi.yaml'
          oasdiff-token: ${{ secrets.OASDIFF_TOKEN }}

If the step also sets fail-on: ERR or WARN, keep it. The job fails until every breaking change is approved and passes on the next run after that, so a job that is a required check keeps blocking the merge (#​220).

changelog can fail a job, and annotates

changelog takes fail-on, including INFO and MISSING-VERSION-BUMP (#​216), and writes inline annotations on the Files changed tab for changes at error and warning level, as breaking does (#​217).

config input

breaking and changelog take config, the path to an oasdiff config file, for a repository that does not keep .oasdiff.yaml at its root (#​216).

Upgrading

Both of these affect existing changelog workflows:

  • A fail-on in .oasdiff.yaml is now honored by changelog. The action used to ignore it there while honoring level from the same file. A workflow whose config file sets fail-on can start failing where it used to pass.
  • changelog writes annotations. Pull requests with error or warning changes get inline annotations they did not get before. Outputs and the report are unchanged.

Fixes

  • A comment that cannot be posted says what to change. A job without permissions: pull-requests: write gets a warning naming the permission. A pull request from a fork, where GitHub makes the token read-only, gets a plain line saying the link is in the job summary, since no permission helps there (#​214).
  • The README documents the inputs once. breaking lists the ten inputs that describe a run, changelog refers to that list, and the oasdiff flags are pointed at .oasdiff.yaml. It also gains a section on pull requests from forks, and its severity-levels example no longer names check ids that oasdiff v1.38.0 retired (#​218, #​219).
  • breaking and changelog now run from one script. Their uses: paths, inputs, outputs and defaults are unchanged (#​215).

Known issue

With an oasdiff-token, fail-on: MISSING-VERSION-BUMP is not cleared by approving the changes, but while the review is pending the job's notice says it will be. For that value, the way to clear the failure is a major version increase in info.version. A fix follows.

Full Changelog: oasdiff/oasdiff-action@v0.1.24...v0.2.0

v0.1.24

Compare Source

Every action now runs on oasdiff v1.38.0, which adds a way to gate on version bumps and names the file each change is in.

Highlights

Fail only when a breaking change ships without a major version bump

The breaking action's fail-on input takes a new value, MISSING-VERSION-BUMP:

- uses: oasdiff/oasdiff-action/breaking@v0.1.24
  with:
    base: 'main:openapi.yaml'
    revision: 'openapi.yaml'
    fail-on: MISSING-VERSION-BUMP

The step passes when the breaking changes come with a major increase in info.version, and fails when they do not. Annotations are unaffected, so reviewers see every breaking change on the Files changed tab either way, and the step log says how the version was judged:

versioning policy: violated. info.version is still 1.0.0.

See Version Bumps and Breaking Changes.

This replaces the api-version-not-bumped, api-version-decreased and api-major-version-not-bumped checks, which are retired. If a severity-levels file named in your .oasdiff.yaml lists one of those ids, it now fails to load like any other unknown id, so remove those lines when you upgrade.

Annotations name the file each change is in
  • A removal is annotated in the base spec, where the removed element still is, instead of the revision, which no longer has it.
  • A change inside a $ref'd file is annotated in that file instead of in the root document.
  • A change to info.version is annotated on that line.

Fixes

  • A description edit inside an anonymous allOf, anyOf or oneOf branch is no longer reported as a branch added and removed. Editing a description under a oneOf in a response schema used to produce response-property-one-of-added and response-property-one-of-removed for what was only a documentation change (oasdiff #​1404).
  • A description an inline to $ref refactor carries is reported again. Inline and $ref branches that validate the same are matched as one branch (on by default), and a matched pair was dropped whole, so a description that differed between the inline branch and the component replacing it was reported nowhere (oasdiff #​1408).
  • The validate action no longer fails on a callback cycle, which the other actions already handled (oasdiff #​1401).

Full Changelog: oasdiff/oasdiff-action@v0.1.23...v0.1.24


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on tuesday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from bo0tzz as a code owner November 24, 2026 01:02
@renovate renovate Bot added changelog:skip dependencies Pull requests that update a dependency file renovate labels Nov 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip dependencies Pull requests that update a dependency file renovate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant