Closed stoopkidddd closed 2 months ago
@stoopkidddd Thanks for the suggestion! I can definitely see how always printing the stack can be confusing for other team members who don't stack their PRs.
Adding this feature will involve:
action.yml
. We could call it something like skip-(single|solo)-(stacks|changes)
inputs.ts
: getSkipSoloChanges()
PRs are very much welcome, so if you feel up for the task by all means submit one!
Going to take a stab at making a PR for this, but wanted to put an issue up first.
It would be nice if there was a config option to tell the github action not to add a stack to the description if the PR isn't actually part of a stack, but just a solo PR pointing to the trunk by itself with no children
There are other people on my team not stacking their PR's, and having the comment added to their solo PRs is very confusing and does not lend to an opt-in approach.
Config option proposal -
skipSinglePR: boolean
added inconfig.ts -> configSchema