Cp/pdpr/majortag replace actions#2594
Merged
varunsh-coder merged 4 commits intostep-security:mainfrom Apr 17, 2026
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2594 +/- ##
==========================================
+ Coverage 74.04% 76.12% +2.07%
==========================================
Files 20 20
Lines 2235 2316 +81
==========================================
+ Hits 1655 1763 +108
+ Misses 431 412 -19
+ Partials 149 141 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- remove debug fmt.Println in GetMajorTagFromSHA - delete TestSome which made a live GitHub API call - log skipped replacements instead of silently continuing - wrap GetMajorTagFromSHA error with %w in resolveVersion - split maintainedActions fixtures into per-test input/output files (*_majorTag.yml and *_latest.yml) so each test row has its own pair - add tests covering GetLatestRelease, GetMajorTagFromSHA, GetMajorTagIfExists, resolveVersion, LoadMaintainedActions, and ReplaceActions edge cases; package coverage now 96.4%
3 tasks
varunsh-coder
approved these changes
Apr 17, 2026
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.
No description provided.