feat: PR validation includes release worthiness notification (W-23251216) - #177
Conversation
276cfb6 to
47ad76e
Compare
|
Bug: typo on line 53 — Should be: - [[ '${{ steps.regex.match-gus-wi-body.outputs.match }}' == '' ]] && BODY_WI=$FAIL || BODY_WI=$PASS
+ [[ '${{ steps.regex-match-gus-wi-body.outputs.match }}' == '' ]] && BODY_WI=$FAIL || BODY_WI=$PASS |
QA Results from plugin-user#1510Pointed Job 1: pr-validation (criteria tree) ✓ worksTitle and body both missing WI → both show ✕ as expected: Note: "include include" (typo — doubled word in the message). Job 2: notify-of-release-worthiness ✕ crashesThe Summary of bugs found
|
QA Results — Round 2 (after fixes)Tested via plugin-user#1510. What's fixed
Test scenarios
Remaining issues
|
- Fix "include include" doubled word in the PR validation warning - Prevent the release-worthiness bot from posting duplicate comments on every workflow re-trigger; now checks if an identical comment already exists before posting a new one
QA Results — Final (all fixes verified)Tested via plugin-user#1510 pointing at this branch. All scenarios passing
Issues found and resolved
All clear — approving. |
WillieRuemmele
left a comment
There was a problem hiding this comment.
QA verified — all scenarios passing, fixes confirmed.
Previously, the
validatePR.ymlworkflow only checked that a Pull Request's title and body both contained a string that looks liked it could conceivably be a GUS Work Item (i.e.,W-\d{7,8}in title, and@W-\d{7,8}@in body).Now, the workflow enforces multiple things.
feat: ___orfix: ___, adds a comment to the PR saying, more or less, "this PR will not trigger a release, use 'fix' or 'feat' to do that; to silence additional messages like this, react with the 👀 emoji."Criteria 1-3 are derived from #162 , a first attempt at this feature.
Criteria 4 was experimentally written and tested in #176 and #178 and salesforcecli/testPackageRelease#63.
This enhancement was done for @W-23251216@.