Skip to content

Stop passing exclude-elements to breaking and changelog - #226

Merged
reuvenharrison merged 1 commit into
mainfrom
exclude-elements-checks
Nov 25, 2026
Merged

reuvenharrison merged 1 commit into
mainfrom
exclude-elements-checks

Conversation

@reuvenharrison

Copy link
Copy Markdown
Contributor

The breaking, changelog and pr-comment actions passed their exclude-elements input to oasdiff breaking or oasdiff changelog as --exclude-elements. Those commands have no such flag, so a workflow that set the input failed with Error: unknown flag: --exclude-elements.

The three actions now ignore the input and print a warning that says how to turn a check off: set its level to none in a severity levels file. The diff action still applies exclude-elements.

README:

  • The .oasdiff.yaml section no longer shows exclude-elements in the example, and says that exclude-elements and exclude-extensions apply to the diff action only. Since oasdiff v1.40.0 the checks ignore both in a configuration file.
  • The diff inputs table listed endpoints, request, response as the accepted values of exclude-elements. The accepted values are description, endpoints, examples, extensions, summary, tags and title.

A new test job runs the breaking action with exclude-elements: endpoints and expects the same result as without it.

🤖 Generated with Claude Code

@reuvenharrison
reuvenharrison merged commit 36dd7dd into main Nov 25, 2026
48 checks passed
@reuvenharrison
reuvenharrison deleted the exclude-elements-checks branch November 25, 2026 07:55
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.

1 participant