2021-05-04 21:57:33 +00:00
|
|
|
pull_request_rules:
|
|
|
|
- name: warn on conflicts
|
|
|
|
conditions:
|
2021-12-11 22:41:27 +00:00
|
|
|
- -draft
|
|
|
|
- -closed
|
|
|
|
- -merged
|
2021-05-04 21:57:33 +00:00
|
|
|
- conflict
|
|
|
|
actions:
|
|
|
|
comment:
|
2021-08-09 16:07:26 +00:00
|
|
|
message: '@{{author}} this pull request is now in conflict 😩'
|
2021-05-04 21:57:33 +00:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- conflict
|
|
|
|
- name: remove conflict label if not needed
|
|
|
|
conditions:
|
|
|
|
- -conflict
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- conflict
|
|
|
|
- name: warn on needs-work
|
|
|
|
conditions:
|
2021-12-11 22:41:27 +00:00
|
|
|
- -draft
|
|
|
|
- -closed
|
|
|
|
- -merged
|
2021-09-26 16:08:52 +00:00
|
|
|
- or:
|
2021-11-04 14:23:22 +00:00
|
|
|
- check-failure=lint
|
|
|
|
- check-failure=test-linux
|
|
|
|
- check-failure=codecov/patch
|
|
|
|
- check-failure=codecov/project
|
|
|
|
- check-failure=snapshot
|
2021-05-04 21:57:33 +00:00
|
|
|
actions:
|
|
|
|
comment:
|
2021-08-09 16:07:26 +00:00
|
|
|
message: '@{{author}} this pull request has failed checks 🛠'
|
2021-05-04 21:57:33 +00:00
|
|
|
label:
|
|
|
|
add:
|
|
|
|
- needs-work
|
|
|
|
- name: remove needs-work label if not needed
|
|
|
|
conditions:
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
|
|
|
label:
|
|
|
|
remove:
|
|
|
|
- needs-work
|
|
|
|
- name: Automatic maintainer assignment
|
|
|
|
conditions:
|
2021-08-09 16:07:26 +00:00
|
|
|
- '-approved-reviews-by=@nektos/act-maintainers'
|
2021-05-04 21:57:33 +00:00
|
|
|
- -draft
|
|
|
|
- -merged
|
|
|
|
- -closed
|
|
|
|
- -conflict
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
|
|
|
request_reviews:
|
2021-08-09 16:07:26 +00:00
|
|
|
teams:
|
|
|
|
- '@nektos/act-maintainers'
|
2021-05-04 21:57:33 +00:00
|
|
|
- name: Automatic merge on approval
|
|
|
|
conditions:
|
2021-08-09 16:07:26 +00:00
|
|
|
- '#changes-requested-reviews-by=0'
|
2022-01-26 17:12:42 +00:00
|
|
|
- or:
|
|
|
|
- 'approved-reviews-by=@nektos/act-committers'
|
2022-03-28 19:29:47 +00:00
|
|
|
- 'author~=^dependabot(|-preview)\[bot\]$'
|
2022-01-26 17:12:42 +00:00
|
|
|
- and:
|
|
|
|
- 'approved-reviews-by=@nektos/act-maintainers'
|
2022-11-08 16:02:43 +00:00
|
|
|
- '#approved-reviews-by>=2'
|
2024-01-19 15:04:05 +00:00
|
|
|
- and:
|
|
|
|
- 'author=@nektos/act-maintainers'
|
|
|
|
- 'approved-reviews-by=@nektos/act-maintainers'
|
|
|
|
- '#approved-reviews-by>=1'
|
2021-05-04 21:57:33 +00:00
|
|
|
- -draft
|
|
|
|
- -merged
|
|
|
|
- -closed
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|
|
|
|
actions:
|
2021-11-04 14:23:22 +00:00
|
|
|
queue:
|
2021-05-04 21:57:33 +00:00
|
|
|
method: squash
|
2021-11-04 14:23:22 +00:00
|
|
|
name: default
|
|
|
|
queue_rules:
|
|
|
|
- name: default
|
|
|
|
conditions:
|
|
|
|
- check-success=lint
|
|
|
|
- check-success=test-linux
|
|
|
|
- check-success=codecov/patch
|
|
|
|
- check-success=codecov/project
|
|
|
|
- check-success=snapshot
|