Skip to content

ci(release): skip the publish stage for releases mirrored by ci-bot - #1890

Merged
mergify[bot] merged 1 commit into
mainfrom
devs/kozlek/skip-mirrored-releases/skip-publish-stage-releases-mirrored-ci-bot--6cf01a0d
Oct 6, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
devs/kozlek/skip-mirrored-releases/skip-publish-stage-releases-mirrored-ci-bot--6cf01a0d

Conversation

@kozlek

@kozlek kozlek commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

The test clients' repository (pytest-mergify, rspec-mergify, @mergifyio/*)
is now private, so its releases page is gone for users. ci-bot will mirror
each of its releases, notes and files, to this repository's releases, as
the public place to read them.

A release created with a user token starts workflows, so every mirror
would run this workflow's publish stage. Those releases carry no CLI
binaries, so the asset check would fail each time and block the rest:
nothing would reach PyPI, but every mirror would leave a failed run. All
three stage-2 jobs now skip releases authored by mergify-ci-bot.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

🤖 Generated with Claude Code

The test clients' repository (pytest-mergify, rspec-mergify, @mergifyio/*)
is now private, so its releases page is gone for users. ci-bot will mirror
each of its releases, notes and files, to this repository's releases, as
the public place to read them.

A release created with a user token starts workflows, so every mirror
would run this workflow's publish stage. Those releases carry no CLI
binaries, so the asset check would fail each time and block the rest:
nothing would reach PyPI, but every mirror would leave a failed run. All
three stage-2 jobs now skip releases authored by mergify-ci-bot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: I6cf01a0dcf1f0e532fac48a8bf6d2b3f13c9de5c
Copilot AI balanced review requested due to automatic review settings October 6, 2026 08:06
@mergify
mergify Bot deployed to Mergify Merge Protections October 6, 2026 08:06 Active
@kozlek
kozlek deployed to func-tests-live October 6, 2026 08:06 — with GitHub Actions Active
@mergify

mergify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 6 merge protections satisfied — ready to merge.

Show 6 satisfied protections

🟢 🤖 Continuous Integration

  • all of:
    • check-success=ci-gate

🟢 👀 Review Requirements

  • any of:
    • #approved-reviews-by>=2
    • author = dependabot[bot]
    • author = mergify-ci-bot
    • author = renovate[bot]

🟢 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)(?:\(.+\))?!?:

🟢 🔎 Reviews

  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 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.

Copilot review overview

🟢 Approval recommended

The focused conditions consistently prevent mirrored releases from entering the CLI publication stage.

Review effort: Balanced
Findings: None

What changed in this PR

Prevents mirrored test-client releases from triggering the CLI publication pipeline.

Changes:

  • Documents mirrored-release behavior.
  • Skips all stage-2 jobs when the release author is mergify-ci-bot.
File Description
.github/​workflows/​release.yml Adds bot-author guards to binary validation, wheel building, and PyPI publishing.

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

@mergify
mergify Bot requested a review from a team October 6, 2026 08:13
@kozlek
kozlek marked this pull request as ready for review October 6, 2026 08:16
@mergify
mergify Bot requested a review from a team October 6, 2026 08:20
@mergify

mergify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-06 08:21 UTC · Rule: default · triggered by merge protections
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged — 2026-10-06 08:21 UTC · at 5eec8855c33c6cf5fd9cdbcdc2888cbfd43fe37b · squash

This pull request spent 12 seconds in the queue, including 1 second running CI.

Required conditions to merge

@mergify mergify Bot added the queued label Oct 6, 2026
@mergify
mergify Bot merged commit 5eec885 into main Oct 6, 2026
24 checks passed
@mergify
mergify Bot deleted the devs/kozlek/skip-mirrored-releases/skip-publish-stage-releases-mirrored-ci-bot--6cf01a0d branch October 6, 2026 08:21
@mergify mergify Bot removed the queued label Oct 6, 2026

This branch was successfully deployed

2 active deployments
func-tests-live — 7cb0cef9 Deployed Oct 6, 2026 by kozlek via live-tests #1985
Mergify Merge Protections — 7cb0cef9 Deployed Oct 6, 2026 by mergify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants