Skip to content

Commit

Permalink
Case-insensitive PR title check (#4919)
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <pxli@nyu.edu>
  • Loading branch information
pxLi authored Mar 9, 2022
1 parent 98a731f commit ac2c449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile-blossom.premerge
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pipeline {
echo "failed to try abort duplicate builds: " + e.toString()
}

def title = githubHelper.getIssue().title
def title = githubHelper.getIssue().title.toLowerCase()
if (title ==~ /.*\[skip ci\].*/) {
githubHelper.updateCommitStatus("$BUILD_URL", "Skipped", GitHubCommitState.SUCCESS)
currentBuild.result == "SUCCESS"
Expand Down

0 comments on commit ac2c449

Please sign in to comment.