feat: add prefix, case-insensitive headers, and format inputs to action#64
Merged
effoeffi merged 7 commits intooasdiff:mainfrom Oct 10, 2025
Merged
feat: add prefix, case-insensitive headers, and format inputs to action#64effoeffi merged 7 commits intooasdiff:mainfrom
effoeffi merged 7 commits intooasdiff:mainfrom
Conversation
…tive-headers to oasdiff changelog github action
…in oasdiff action
Contributor
|
Thanks @timonrieger. |
Contributor
Author
Hey @effoeffi , I cannot add any reviewers to the existing PR, neither using the UI nor the CLI gh pr edit https://github.com/oasdiff/oasdiff-action/pull/64 --add-reviewer effoeffiIn a new PR template I cannot set it either 🤔 Nevertheless, the PR is ready for review. |
effoeffi
reviewed
Oct 7, 2025
Contributor
effoeffi
left a comment
There was a problem hiding this comment.
Please, update README with the new parameters.
changelog/entrypoint.sh
Outdated
| readonly case_insensitive_headers="$9" | ||
| readonly format="${10}" | ||
|
|
||
| echo "running oasdiff changelog base: $base, revision: $revision, include_path_params: $include_path_params, exclude_elements: $exclude_elements, composed: $composed, output_to_file: $output_to_file" |
Contributor
There was a problem hiding this comment.
Debug output should include the new parameters
Contributor
Author
done 😄 |
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.
What: Extend
changelogGitHub Action inputs and wire them through toentrypoint.sh.prefix-base: Prefix for base version/pathprefix-revision: Prefix for revision version/pathcase-insensitive-headers: Treat headers case-insensitively (true/false)format: Output format (e.g.,markdown,json)oasdiff changelogas flags:--prefix-base,--prefix-revision--case-insensitive-headers--formatWhy: Increases feature parity with the underlying oasdiff CLI tool
Changes
changelog/action.yml: Add four optional inputs with defaults; append them to theruns.args.changelog/entrypoint.sh: Parse new args and conditionally append matchingoasdiffflags.Usage
entrypoint.shpreserves existing behavior and only appends flags when inputs are provided/true.