Skip to content

Instantly share code, notes, and snippets.

@xstefank
Last active April 10, 2019 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xstefank/3a79f2f199ee1e449a44c607120a9d30 to your computer and use it in GitHub Desktop.
Save xstefank/3a79f2f199ee1e449a44c607120a9d30 to your computer and use it in GitHub Desktop.
repository: "xstefank/test-repo"
statusUrl: "https://github.com/wildfly/wildfly/blob/master/.github/PULL_REQUEST_TEMPLATE.md"
format:
skipPatterns:
description: "(NO JIRA REQUIRED|\\[NO JIRA REQUIRED\\]).*"
title:
pattern: "(\\[WFLY-\\d+\\]\\s+.*|WFLY-\\d+\\s+.*)|((WFLY-\\d+,\\s+)+WFLY-\\d+\\s+.*)|((\\[WFLY-\\d+\\])+\\s+.*)|(\\[(WFLY-\\d+,\\s+)+WFLY-\\d+\\]\\s+.*)"
message: "Invalid PR title: must contain issue id"
commit:
pattern: "(\\[WFLY-\\d+\\]\\s+.*|WFLY-\\d+\\s+.*)|((WFLY-\\d+,\\s+)+WFLY-\\d+\\s+.*)|((\\[WFLY-\\d+\\])+\\s+.*)|(\\[(WFLY-\\d+,\\s+)+WFLY-\\d+\\]\\s+.*)"
message: "Invalid commit message: must contain issue id"
description:
required rows:
- pattern: "(JIRA:\\s+|Issue:\\s+|)https://issues.jboss.org/browse/WFLY-\\d+"
message: "The PR description must contain the link to the JIRA issue"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment