Closed anthonyma94 closed 2 years ago
@anthonyma94 can you please provide some more information, I don't fully understand what you are trying to achieve. Some examples may be good...
Sorry about that, I'll include some examples:
This is valid since there is text in the description
This is invalid since there is no text in the description
Currently if the second PR is submitted and the excludeTitle
flag is true
, the action succeeds with the message No commits found in the payload, skipping check.
If you like to enforce a description something like this may do it:
"$.+\n\n.+"
Does this help or do you still need something else?
Unfortunately that doesn't work. If the description is empty while the excludeTitle
flag is set to true
, the action skips any checks and displays No commits found in the payload, skipping check.
Unfortunately that doesn't work. If the description is empty while the
excludeTitle
flag is set totrue
, the action skips any checks and displaysNo commits found in the payload, skipping check.
Why do you need to set excludeTitle
at all? And did you set excludeTitle to true? Without only the PR descriptioin is takken into account.
I wanted to check for description based on the title regex. Do you have any suggestions for that?
Hi, I'm wondering if there can be a boolean flag to check if a PR description exists. I'd like to be able to check if a description exists given a specific pattern for PR title :)