summaryrefslogtreecommitdiffstats
path: root/.mergify.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-10-20 23:07:42 +0200
committerDaniel Baumann <daniel@debian.org>2024-11-09 15:38:42 +0100
commit714c83b2736d7e308bc33c49057952490eb98be2 (patch)
tree1d9ba7035798368569cd49056f4d596efc908cd8 /.mergify.yml
parentInitial commit. (diff)
downloadforgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.tar.xz
forgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.zip
Adding upstream version 1.21.4.HEADupstream/1.21.4upstreamdebian
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to '.mergify.yml')
-rw-r--r--.mergify.yml97
1 files changed, 97 insertions, 0 deletions
diff --git a/.mergify.yml b/.mergify.yml
new file mode 100644
index 0000000..cea82a9
--- /dev/null
+++ b/.mergify.yml
@@ -0,0 +1,97 @@
+pull_request_rules:
+ - name: warn on conflicts
+ conditions:
+ - -draft
+ - -closed
+ - -merged
+ - conflict
+ actions:
+ comment:
+ message: '@{{author}} this pull request is now in conflict 😩'
+ label:
+ add:
+ - conflict
+ - name: remove conflict label if not needed
+ conditions:
+ - -conflict
+ actions:
+ label:
+ remove:
+ - conflict
+ - name: warn on needs-work
+ conditions:
+ - -draft
+ - -closed
+ - -merged
+ - or:
+ - check-failure=lint
+ - check-failure=test-linux
+ - check-failure=codecov/patch
+ - check-failure=codecov/project
+ - check-failure=snapshot
+ actions:
+ comment:
+ message: '@{{author}} this pull request has failed checks 🛠'
+ 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:
+ - '-approved-reviews-by=@nektos/act-maintainers'
+ - -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:
+ teams:
+ - '@nektos/act-maintainers'
+ - name: Automatic merge on approval
+ conditions:
+ - '#changes-requested-reviews-by=0'
+ - or:
+ - 'approved-reviews-by=@nektos/act-committers'
+ - 'author~=^dependabot(|-preview)\[bot\]$'
+ - and:
+ - 'approved-reviews-by=@nektos/act-maintainers'
+ - '#approved-reviews-by>=2'
+ - and:
+ - 'author=@nektos/act-maintainers'
+ - 'approved-reviews-by=@nektos/act-maintainers'
+ - '#approved-reviews-by>=1'
+ - -draft
+ - -merged
+ - -closed
+ - check-success=lint
+ - check-success=test-linux
+ - check-success=codecov/patch
+ - check-success=codecov/project
+ - check-success=snapshot
+ actions:
+ queue:
+ method: squash
+ 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