Skip to content

Fix Mergify checks hanging when rules don't apply#4670

Merged
dejanzele merged 3 commits intomasterfrom
fix-mergify-again
Feb 6, 2026
Merged

Fix Mergify checks hanging when rules don't apply#4670
dejanzele merged 3 commits intomasterfrom
fix-mergify-again

Conversation

@mauriceyap
Copy link
Collaborator

Move file path conditions from rule conditions into success_conditions
so checks always run and return success when they don't apply.

Rule 1 (Lookout UI): Succeeds if no Lookout UI files, or approval
requirements met.

Rule 2 (Armada maintainers): Succeeds if only Lookout UI files, or
approval requirements met.

Frontend-only maintainers can self-approve pure Lookout UI changes but
require 2 approvals or an Armada maintainer for any backend changes.

The first rule's conditions required Lookout UI files to be present,
which prevented the check from completing on PRs without UI changes.

Move the file path conditions into success_conditions so the check
always runs and succeeds immediately when no Lookout UI files are
modified.

Signed-off-by: Maurice Yap <mauriceyap@hotmail.co.uk>
Move file path conditions from rule conditions into success_conditions
so checks always run and return success when they don't apply.

Rule 1 (Lookout UI): Succeeds if no Lookout UI files, or approval
requirements met.

Rule 2 (Armada maintainers): Succeeds if only Lookout UI files, or
approval requirements met.

Frontend-only maintainers can self-approve pure Lookout UI changes but
require 2 approvals or an Armada maintainer for any backend changes.

Signed-off-by: Maurice Yap <mauriceyap@hotmail.co.uk>
@mauriceyap mauriceyap enabled auto-merge (squash) February 6, 2026 12:02
@dejanzele dejanzele merged commit 2100cc1 into master Feb 6, 2026
13 of 14 checks passed
@dejanzele dejanzele deleted the fix-mergify-again branch February 6, 2026 13:35
dslear pushed a commit to dslear/armada that referenced this pull request Feb 9, 2026
Move file path conditions from rule conditions into success_conditions
so checks always run and return success when they don't apply.

Rule 1 (Lookout UI): Succeeds if no Lookout UI files, or approval
requirements met.

Rule 2 (Armada maintainers): Succeeds if only Lookout UI files, or
approval requirements met.

Frontend-only maintainers can self-approve pure Lookout UI changes but
require 2 approvals or an Armada maintainer for any backend changes.

---------

Signed-off-by: Maurice Yap <mauriceyap@hotmail.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants