You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @opotowsky and I were just lamenting, your wonderful GH Action turns out to be inflexible for our repo because we have a lengthy checklist in our PR template. So, any time someone changed the text in that template (which happens regularly), they would need to know to update the "minLength" field in your Action.
Is it POSSIBLE to find the text of the PR template in this Action, and pull the number of characters from it?
If so, could we add that as a feature to this repo?
If you'd rather NOT, could you point me in the right direction, so I could make a fork of your Plugin for our little, bespoke desires?
The text was updated successfully, but these errors were encountered:
Sorry, I've never looked at GH Actions plugins before, but based on this page, I'm trying to decide if we could find the PR template in TypeScript in a similar way to your getPullRequestDescription() method, but using something like:
but it's not working perfectly because the string body of the PR, in the json, counts spaces as multiple characters. you will need to add some fudge factor to template_length
As @opotowsky and I were just lamenting, your wonderful GH Action turns out to be inflexible for our repo because we have a lengthy checklist in our PR template. So, any time someone changed the text in that template (which happens regularly), they would need to know to update the "
minLength
" field in your Action.The text was updated successfully, but these errors were encountered: