Skip to content

Comma ignored on PR title check #632

Discussion options

You must be logged in to vote

Hey, please switch the match with includes. match expects a list of but the title is not a list, you should use includes as follows

- {{ (pr.title | includes(regex=titlePolicy.titleRegex)) == false }}

this replaces the current {{ pr.title | match(regex=titlePolicy.titleRegex) | nope }} ← should be replaced with the above snippet!

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@vim-zz
Comment options

@GFriedrich
Comment options

@vim-zz
Comment options

@vim-zz
Comment options

Answer selected by GFriedrich
@GFriedrich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants