Skip to content

docs(conditions): document the qualified form for deployment conditions - #12657

Open
sileht wants to merge 1 commit into
mainfrom
devs/sileht/mrgfy-8824-qualified-deployment-conditions/document-qualified-form-deployment-conditions--7ad4420d
Open

docs(conditions): document the qualified form for deployment conditions#12657
sileht wants to merge 1 commit into
mainfrom
devs/sileht/mrgfy-8824-qualified-deployment-conditions/document-qualified-form-deployment-conditions--7ad4420d

Conversation

@sileht

@sileht sileht commented Sep 1, 2026

Copy link
Copy Markdown
Member

deployment-success / deployment-failure now accept the same
@<github-app-slug>/<environment> form the check-* attributes already do,
so a rule can require an environment be deployed by one particular app rather
than by whoever posted a deployment status last. That matters because anyone
with deployments: write on the repository can post a status for any
environment name.

The reference only covered checks, so the syntax existed with nowhere
documenting it for deployments.

Related to MRGFY-8824

`deployment-success` / `deployment-failure` now accept the same
`@<github-app-slug>/<environment>` form the `check-*` attributes already do,
so a rule can require an environment be deployed by one particular app rather
than by whoever posted a deployment status last. That matters because anyone
with `deployments: write` on the repository can post a status for any
environment name.

The reference only covered checks, so the syntax existed with nowhere
documenting it for deployments.

Related to MRGFY-8824

Change-Id: I7ad4420d7b4c9fa95631b2f1303600180e94b65e
Copilot AI lite review requested due to automatic review settings September 1, 2026 23:45
@mergify
mergify Bot had a problem deploying to Mergify Merge Protections September 1, 2026 23:45 Failure
@mergify

mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🔴 2 of 6 protections blocking · waiting on 👀 reviews

Protection Waiting on
🔴 👀 Review Requirements 👀 reviews
🔴 🔎 Reviews 👀 reviews
🟢 🤖 Continuous Integration
🟢 Enforce conventional commit
🟢 📕 PR description
🟢 🚦 Auto-queue

🔴 👀 Review Requirements

Waiting for

  • #approved-reviews-by >= 2
This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = renovate[bot]
    • all of:
      • author = mergify-ci-bot
      • -head ~= ^docs-agent/

🔴 🔎 Reviews

Waiting for

  • #review-requested = 0
  • #review-threads-unresolved = 0
This rule is failing.
  • #review-requested = 0
  • #review-threads-unresolved = 0
  • #changes-requested-reviews-by = 0

Show 4 satisfied protections

🟢 🤖 Continuous Integration

  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|internal|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?!?:

🟢 📕 PR description

  • body ~= (?ms:.{48,})

🟢 🚦 Auto-queue

When all merge protections are satisfied, this pull request will be queued automatically.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The change is a straightforward documentation addition with only a minor structural tweak suggested.

Pull request overview

This PR updates the Mergify conditions reference to document that deployment-success / deployment-failure support the qualified @<github-app-slug>/<environment> syntax (similar to the existing qualified form for check-* conditions), enabling rules to match deployments reported by a specific GitHub App.

Changes:

  • Adds a new documentation subsection explaining the qualified deployment condition form.
  • Includes an example showing how to pin an environment deployment to a specific app slug.
  • Clarifies backward compatibility of the bare (unqualified) deployment condition form.
File summaries
File Description
src/content/docs/configuration/conditions.mdx Documents the qualified deployment condition syntax and provides an example + compatibility notes.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

conditions and legacy GitHub commit statuses carry no GitHub App identity
and remain reachable only via the bare form.

### Qualifying Deployments
@mergify
mergify Bot requested a review from a team September 1, 2026 23:48
@mergify
mergify Bot requested a review from a team September 2, 2026 11:55
@sileht
sileht marked this pull request as ready for review September 2, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants