Skip to content

add parameters to pr bot org wide config #2801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

TrushynAliaksandr
Copy link
Contributor

No description provided.

"trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))",
"always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))",
"trigger_comment_regex": "run docs-build ?(?<rebuild_opt>rebuild)? ?(?<warn_opt>warnlinkcheck)? ?(?<skip_opt>skiplinkcheck)?",
"always_trigger_comment_regex": "run docs-build ?(?<rebuild_opt>rebuild)? ?(?<warn_opt>warnlinkcheck)? ?(?<skip_opt>skiplinkcheck)?",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested these regular expressions but I'll assume they work.

@bmorelli25 @jrodewig It's probably good to note for when the documentation is updated that the options need to be in order. I don't know how the new Buildkite script handles them; in Jenkins it just searched for the "rebuild"/"skiplinkcheck" text anywhere in the comment body. But in terms of a trigger phrase I think they'll need to be in this order.

@TrushynAliaksandr TrushynAliaksandr merged commit 4d3eb98 into master Oct 24, 2023
@TrushynAliaksandr TrushynAliaksandr deleted the edit-pr-bot-org-wide-config branch October 24, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants