Skip to content

Commit

Permalink
Tweak configure_ci.py regex patterns. (iree-org#15298)
Browse files Browse the repository at this point in the history
* Ignore `gitignore` instead of `git-ignore` (see
iree-org#15266 (comment))
* Expand "LLVM integrate" patterns to match more titles and branch names
(used by megabump, see [discussion on
Discord](https://discord.com/channels/689900678990135345/1080178290188374049/1166839798250602636))
  • Loading branch information
ScottTodd authored Oct 25, 2023
1 parent 117e82d commit c4be76f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build_tools/github_actions/configure_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def contains(cls, val):
".github/ISSUE_TEMPLATE/*",
"*.cff",
"*.clang-format",
"*.git-ignore",
"*.gitignore",
"*.git-blame-ignore-revs",
"*.md",
"*.natvis",
"*.pylintrc",
Expand Down Expand Up @@ -155,8 +156,10 @@ def contains(cls, val):
# intended to be merged and should exclude test/draft PRs as well as
# PRs that include temporary patches to the submodule during review.
# See also: https://github.com/openxla/iree/issues/12268
LLVM_INTEGRATE_TITLE_PATTERN = re.compile("^integrate.+llvm-project", re.IGNORECASE)
LLVM_INTEGRATE_BRANCH_PATTERN = re.compile("bump-llvm|llvm-bump", re.IGNORECASE)
LLVM_INTEGRATE_TITLE_PATTERN = re.compile("^integrate.+llvm", re.IGNORECASE)
LLVM_INTEGRATE_BRANCH_PATTERN = re.compile(
"bump-llvm|llvm-bump|integrate-llvm", re.IGNORECASE
)
LLVM_INTEGRATE_LABEL = "llvm-integrate"


Expand Down

0 comments on commit c4be76f

Please sign in to comment.