Skip to content

fix(formatters): include ruleset-based documentationUrl in github format - #3063

Open
ctreatma wants to merge 1 commit into
stoplightio:developfrom
ctreatma:github-actions-documentationUrl
Open

ctreatma wants to merge 1 commit into
stoplightio:developfrom
ctreatma:github-actions-documentationUrl

Conversation

@ctreatma

Copy link
Copy Markdown

The GitHub Actions formatter includes the documentationUrl for a rule if it is defined, but some rules, such as the ones in the built-in oas ruleset, rely on a ruleset-level documentationUrl.

This updates the GitHub Actions formatter to use the existing getDocumentationUrl resolver so that the documentationUrl will be included in GitHub Actions annotations whenever it is available.

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

Screenshots

If applicable, add screenshots or gifs to help demonstrate the changes. If not applicable, remove this screenshots section before creating the PR.

Additional context

Add any other context about the pull request here. Remove this section if there is no additional context.

The GitHub Actions formatter includes the documentationUrl for a rule if
it is defined, but some rules, such as the ones in the built-in oas ruleset,
rely on a ruleset-level documentationUrl.

This updates the GitHub Actions formatter to use the existing getDocumentationUrl
resolver so that the documentationUrl will be included in GitHub Actions annotations
whenever it is available.
@ctreatma
ctreatma requested a review from a team as a code owner September 11, 2026 17:16
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