mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +08:00
refactor: consolidate PR ignore logic into a single function and update documentation
This commit is contained in:
@ -35,15 +35,11 @@ is_auto_command=false
|
||||
# seed
|
||||
seed=-1 # set positive value to fix the seed (and ensure temperature=0)
|
||||
temperature=0.2
|
||||
|
||||
# a list of regular expressions to match against the PR title to ignore the PR agent
|
||||
ignore_pr_title = []
|
||||
# a list of regular expressions of target branches to ignore from PR agent when an MR is created
|
||||
ignore_pr_target_branches = []
|
||||
# a list of regular expressions of source branches to ignore from PR agent when an MR is created
|
||||
ignore_pr_source_branches = []
|
||||
# labels to ignore from PR agent when an MR is created
|
||||
ignore_pr_labels = []
|
||||
# ignore logic
|
||||
ignore_pr_title = ["^\\[Auto\\]", "^Auto"] # a list of regular expressions to match against the PR title to ignore the PR agent
|
||||
ignore_pr_target_branches = [] # a list of regular expressions of target branches to ignore from PR agent when an PR is created
|
||||
ignore_pr_source_branches = [] # a list of regular expressions of source branches to ignore from PR agent when an PR is created
|
||||
ignore_pr_labels = [] # labels to ignore from PR agent when an PR is created
|
||||
|
||||
[pr_reviewer] # /review #
|
||||
# enable/disable features
|
||||
|
Reference in New Issue
Block a user