Announcing "Merge-After" Condition

We are pleased to announce the release of a new condition for our Merge Queue and merge automation, the Merge-After condition.

Schedule Condition Limits

While creating a general rule based on schedule condition was possible, it did not allow you to manage pull requests individually.

- name: merge on working hour
  conditions:
    - schedule=Mon-Fri 09:00-19:00[America/Vancouver]
  actions:
    merge:

With this configuration, all the pull requests can only be merged from Monday to Friday between 09:00 a.m. and 07:00 p.m.

That is a useful rule. However, under certain conditions, one and only one specific pull request should not be merged, unlike all the others.

This can be related to a marketing announcement effect or the availability of certain people.

However, with this schedule, a pull request that passes the tests will automatically be merged.

We wanted to optimize the PR management at the single PR scale.

"Merge-After" Condition

Mergify now recognizes a new Merge-After field.

If you use this specific field in your pull request body, the merge and queue actions will only be triggered after the timestamp listed in the Merge-After value.

With this new condition, you can go further in the management of PR at an individual level.