Closed doronkg closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 40.96%. Comparing base (
5b9c270
) to head (c927585
). Report is 3 commits behind head on main.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What this PR does / why we need it?
This PR adds a custom GitHub action to validate that the exceptions JSON files are properly sorted. Once a PR is submitted to
main
branch with modifications underpkg/kor/exceptions
, this workflow is invoked.If unsorted JSON files are found, the workflow will fail and provide the contributor with:
Example:
PR Checklist
GitHub Issue
[XX-XX]
Notes for your reviewers
The sorting validation is based on
jq
in Bash.