2021-05-04 16:57:33 -05:00
|
|
|
pull_request_rules:
|
|
|
|
- name: warn on conflicts
|
|
|
|
conditions:
|
|
|
|
- conflict
|
|
|
|
actions:
|
|
|
|
comment:
|
2021-08-09 11:07:26 -05:00
|
|
|
message: '@{{author}} this pull request is now in conflict 😩'
|
2021-05-04 16:57:33 -05:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- conflict
|
|
|
|
- name: remove conflict label if not needed
|
|
|
|
conditions:
|
|
|
|
- -conflict
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- conflict
|
|
|
|
- name: warn on needs-work
|
|
|
|
conditions:
|
2021-09-26 11:08:52 -05:00
|
|
|
- or:
|
|
|
|
- check-failure=lint
|
|
|
|
- check-failure=test-linux
|
|
|
|
- check-failure=test-macos
|
|
|
|
- check-failure=codecov/patch
|
|
|
|
- check-failure=codecov/project
|
|
|
|
- check-failure=snapshot
|
2021-05-04 16:57:33 -05:00
|
|
|
actions:
|
|
|
|
comment:
|
2021-08-09 11:07:26 -05:00
|
|
|
message: '@{{author}} this pull request has failed checks 🛠'
|
2021-05-04 16:57:33 -05:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- needs-work
|
|
|
|
- name: remove needs-work label if not needed
|
|
|
|
conditions:
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=test-macos
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- needs-work
|
|
|
|
- name: Automatic maintainer assignment
|
|
|
|
conditions:
|
2021-08-09 11:07:26 -05:00
|
|
|
- '-approved-reviews-by=@nektos/act-maintainers'
|
2021-05-04 16:57:33 -05:00
|
|
|
- -draft
|
|
|
|
- -merged
|
|
|
|
- -closed
|
|
|
|
- -conflict
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=test-macos
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
|
|
|
request_reviews:
|
2021-08-09 11:07:26 -05:00
|
|
|
teams:
|
|
|
|
- '@nektos/act-maintainers'
|
2021-05-04 16:57:33 -05:00
|
|
|
- name: Automatic committer assignment
|
|
|
|
conditions:
|
2021-08-09 11:07:26 -05:00
|
|
|
- 'approved-reviews-by=@nektos/act-maintainers'
|
|
|
|
- '-approved-reviews-by=@nektos/act-committers'
|
2021-05-04 16:57:33 -05:00
|
|
|
- -draft
|
|
|
|
- -merged
|
|
|
|
- -closed
|
|
|
|
- -conflict
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=test-macos
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
|
|
|
request_reviews:
|
2021-08-09 11:07:26 -05:00
|
|
|
teams:
|
|
|
|
- '@nektos/act-committers'
|
2021-05-04 16:57:33 -05:00
|
|
|
- name: Automatic merge on approval
|
|
|
|
conditions:
|
2021-08-09 11:07:26 -05:00
|
|
|
- '#changes-requested-reviews-by=0'
|
|
|
|
- 'approved-reviews-by=@nektos/act-committers'
|
2021-05-04 16:57:33 -05:00
|
|
|
- -draft
|
|
|
|
- -merged
|
|
|
|
- -closed
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=test-macos
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: squash
|
2021-05-05 00:45:34 -05:00
|
|
|
strict: true
|