While running this action, I'd like feedback to confirm that the PR title the action is running matches what I expect. This is especially important when I edit a title and re-run the action; I want to sanity check the action and I want to be able to know what the PR title was in the action history.
Verifying the change
I wrote a bad PR title and CI reported:
Run ./
Found PR title: lolbad title
Error: PR title: subject may not be empty
Error: PR title: type may not be empty
Error: PULL REQUEST: PR title does not conform to the conventional commit spec
Behold: the second line shows the the PR title. And as a bonus, makes it easy to act on the error.
Review Checklist
PR titles must follow the type: description format. See Conventional Commits for a summary and examples.
Please complete these steps before requesting code review:
[x] This PR provides a description, testing steps, and adequate context for reviewers
[ ] Unit tests added/updated to provide coverage for functional code changes in this PR
While running this action, I'd like feedback to confirm that the PR title the action is running matches what I expect. This is especially important when I edit a title and re-run the action; I want to sanity check the action and I want to be able to know what the PR title was in the action history.
Verifying the change
I wrote a bad PR title and CI reported:
Behold: the second line shows the the PR title. And as a bonus, makes it easy to act on the error.
Review Checklist
PR titles must follow the
type: description
format. See Conventional Commits for a summary and examples.Please complete these steps before requesting code review: