This repository was archived by the owner on Sep 20, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/nuget/MSTest.TestAdapter-3.6.0
- Loading branch information
Showing
2 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,89 @@ | ||
pull_request_rules: | ||
- name: merge pull requests from dependabot if CI passes | ||
- name: Automatically merge PRs | ||
conditions: | ||
- check-success=continuous-integration/travis/pr | ||
- "#approved-reviews-by>=1" | ||
actions: | ||
merge: | ||
method: merge | ||
commit_message_template: | | ||
Merge from {{ head }} | ||
{{ title }} (#{{ number }}) | ||
{{ body }} | ||
{% for user in approved_reviews_by %} | ||
Approved-By: {{user}} | ||
{% endfor %} | ||
- name: Automatically Dependenabot bot's PRs | ||
conditions: | ||
- author=dependabot[bot] | ||
- status-success=continuous-integration/travis/pr | ||
actions: | ||
merge: | ||
method: merge | ||
commit_message_template: | | ||
Automerge from {{ head }} | ||
{{ title }} (#{{ number }}) | ||
{{ body }} | ||
- name: Automatically approve Dependenabot bot's PRs | ||
conditions: | ||
- author=dependabot[bot] | ||
actions: | ||
review: | ||
type: APPROVE | ||
label: | ||
toggle: | ||
- approved | ||
|
||
- name: Automatic update Depenedabot pull requests if they are commits behind | ||
conditions: | ||
- author=dependabot[bot] | ||
- "#commits-behind > 1" | ||
actions: | ||
update: | ||
|
||
- name: Ask to resolve conflict | ||
conditions: | ||
- conflict | ||
actions: | ||
comment: | ||
message: This pull request is now in conflict. Could you fix it @{{author}}? :) | ||
label: | ||
toggle: | ||
- conflict | ||
|
||
- name: Comment when is merged | ||
conditions: | ||
- merged | ||
actions: | ||
comment: | ||
message: Thank you for your contribution @{{author}}! Your pull request has been merged. | ||
label: | ||
toggle: | ||
- merged | ||
|
||
- name: "Assign non Dependabot PR to author: TekuSP" | ||
conditions: | ||
- "#files = 1" | ||
- "author!=dependabot[bot]" | ||
actions: | ||
assign: | ||
add_users: | ||
- "TekuSP" | ||
label: | ||
toggle: | ||
- "In Review" | ||
|
||
- name: Toggle label when CI Fails | ||
conditions: | ||
- check-failure=continuous-integration/travis/pr | ||
actions: | ||
label: | ||
toggle: | ||
- "CI Pipeline: Failure" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters