Repository navigation
chore(github-action): update action oasdiff/oasdiff-action (v0.1.23 → v0.2.1) - #33613
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
bo0tzz
approved these changes
Nov 26, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.1.23→v0.2.1v0.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.1Compare 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
viewlink. 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 anoasdiff-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:
oneOforanyOfis decided by what the whole schema accepts. Addingnullto a secondoneOfbranch takesnullaway from the property, and it is now reported asrequest-property-became-not-nullableat error level.flatten-allof,nullable: truebeside anallOfis 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
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 theoasdiffstatus check, which is updated when a reviewer approves or rejects (#222).Full Changelog: oasdiff/oasdiff-action@v0.2.0...v0.2.1
v0.2.0Compare 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
changelogaction change; see "Upgrading" below.Highlights
The PR comment lists the changes
The comment the
breakingandchangelogactions 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).Pro on the
breakingactionoasdiff Pro used to need the
changelogaction. With anoasdiff-token,breakingnow uploads an authenticated review of the breaking changes, posts the review comment and sets theoasdiffcommit status, so upgrading a workflow built onbreakingis one input and one permission (#216):If the step also sets
fail-on: ERRorWARN, 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).changelogcan fail a job, and annotateschangelogtakesfail-on, includingINFOandMISSING-VERSION-BUMP(#216), and writes inline annotations on the Files changed tab for changes at error and warning level, asbreakingdoes (#217).configinputbreakingandchangelogtakeconfig, the path to an oasdiff config file, for a repository that does not keep.oasdiff.yamlat its root (#216).Upgrading
Both of these affect existing
changelogworkflows:fail-onin.oasdiff.yamlis now honored bychangelog. The action used to ignore it there while honoringlevelfrom the same file. A workflow whose config file setsfail-oncan start failing where it used to pass.changelogwrites annotations. Pull requests with error or warning changes get inline annotations they did not get before. Outputs and the report are unchanged.Fixes
permissions: pull-requests: writegets 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).breakinglists the ten inputs that describe a run,changelogrefers to that list, and the oasdiff flags are pointed at.oasdiff.yaml. It also gains a section on pull requests from forks, and itsseverity-levelsexample no longer names check ids that oasdiff v1.38.0 retired (#218, #219).breakingandchangelognow run from one script. Theiruses:paths, inputs, outputs and defaults are unchanged (#215).Known issue
With an
oasdiff-token,fail-on: MISSING-VERSION-BUMPis 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 ininfo.version. A fix follows.Full Changelog: oasdiff/oasdiff-action@v0.1.24...v0.2.0
v0.1.24Compare 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
breakingaction'sfail-oninput takes a new value,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:See Version Bumps and Breaking Changes.
This replaces the
api-version-not-bumped,api-version-decreasedandapi-major-version-not-bumpedchecks, which are retired. If aseverity-levelsfile named in your.oasdiff.yamllists 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
$ref'd file is annotated in that file instead of in the root document.info.versionis annotated on that line.Fixes
allOf,anyOforoneOfbranch is no longer reported as a branch added and removed. Editing adescriptionunder aoneOfin a response schema used to produceresponse-property-one-of-addedandresponse-property-one-of-removedfor what was only a documentation change (oasdiff #1404).$refrefactor carries is reported again. Inline and$refbranches 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).validateaction 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)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.