Skip to content

Commit

Permalink
config: deploy format-checker for test-dev (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini256 authored Oct 15, 2021
1 parent a668369 commit 3f21902
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions configs/prow-dev/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ tide:
missingLabels:
- do-not-merge/hold
- do-not-merge/work-in-progress
- do-not-merge/invalid-commit-message
- needs-rebase

context_options:
Expand Down
18 changes: 15 additions & 3 deletions configs/prow-dev/config/external_plugins_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,20 @@ ti-community-tars:
only_when_label: "status/can-merge"
exclude_labels:
- needs-rebase
- do-not-merge/work-in-progress
# Notice: only for test, make tars test easily.
# - do-not-merge/hold
# Notice: only for test, make tars test easily.
#- do-not-merge/work-in-progress
- do-not-merge/invalid-commit-message
- do-not-merge/hold
message: |
Your PR was out of date, I have automatically updated it for you.
ti-community-format-checker:
- repos:
- ti-community-infra/test-dev
required_match_rules:
- pull_request: true
commit_message: true
regexp: "#(?P<issue_number>[1-9]\\d*)"
missing_message: |
Please provide the associated issue number in the commit message, for example: `close #12345`, or `ref #12345`.
missing_label: do-not-merge/invalid-commit-message
4 changes: 4 additions & 0 deletions configs/prow-dev/config/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@ external_plugins:
events:
- issue_comment
- push
- name: ti-community-format-checker
events:
- pull_request
- issues

0 comments on commit 3f21902

Please sign in to comment.