mergify.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. queue_rules:
  2. - name: default
  3. queue_conditions:
  4. - check-success ~= ci-app-lint
  5. - check-success ~= ci-app-test
  6. - check-success ~= ci-app-launch-dev
  7. - -check-failure ~= ci-app-
  8. - -check-failure ~= ci-slackbot-
  9. - -check-failure ~= test-prod-node24 /
  10. - -check-failure ~= test-prod-node24 / build-prod
  11. - -check-failure ~= test-prod-node24 / launch-prod
  12. - -check-failure ~= test-prod-node24 / run-playwright
  13. - -check-failure ~= test-prod-node24 / report-playwright
  14. merge_conditions:
  15. - check-success ~= ci-app-lint
  16. - check-success ~= ci-app-test
  17. - check-success ~= ci-app-launch-dev
  18. - check-success = test-prod-node24 / build-prod
  19. - check-success ~= test-prod-node24 / launch-prod
  20. # Gate on report-playwright (not individual run-playwright shards).
  21. # report-playwright runs after ALL shards complete (needs: [run-playwright])
  22. # and fails if any shard did not succeed (including cancelled), so a single
  23. # SUCCESS here guarantees every playwright matrix job passed — no race condition.
  24. - check-success = test-prod-node24 / report-playwright
  25. - -check-failure ~= ci-app-
  26. - -check-failure ~= ci-slackbot-
  27. - -check-failure ~= test-prod-node24 /
  28. - -check-failure ~= test-prod-node24 / build-prod
  29. - -check-failure ~= test-prod-node24 / launch-prod
  30. - -check-failure ~= test-prod-node24 / run-playwright
  31. - -check-failure ~= test-prod-node24 / report-playwright
  32. pull_request_rules:
  33. - name: Automatic queue to merge
  34. conditions:
  35. - '#approved-reviews-by >= 1'
  36. - '#changes-requested-reviews-by = 0'
  37. - '#review-requested = 0'
  38. actions:
  39. queue:
  40. - name: Automatic merge for Preparing next version
  41. conditions:
  42. - author = github-actions[bot]
  43. - label = type/prepare-next-version
  44. actions:
  45. merge:
  46. method: merge