Skip to content

2026.11.10

Choose a tag to compare

@mergify-ci-bot mergify-ci-bot released this 16 Nov 18:06
· 10 commits to main since this release
Immutable release. Only release title and notes can be modified.
98e4a03

On GitHub Actions, the mergify-test-engine-setup and mergify-ci skills and the test clients' READMEs now set up jobs with OIDC: id-token: write on the job and no MERGIFY_TOKEN. Writing a trust policy needs no Enterprise plan, and the CLI's help and the skills no longer say it does: every plan can. mergify ci junit-process no longer fails a job whose ID token Mergify refuses, mergify stack list no longer reads a pull request as failing on a neutral check, and a command run with no credential tells an AI agent to ask its user to log in. The summary the test clients print is now headed "Mergify Test Engine": see Before you upgrade if a script looks for "Mergify CI".

Before you upgrade

  • The summary every test client prints at the end of a run is now headed "Mergify Test Engine" instead of "Mergify CI". A script that finds it by its header must look for ===== Mergify Test Engine ===== (pytest-mergify), Mergify Test Engine: (rspec-mergify), # Mergify Test Engine: (minitest-mergify), ⎯⎯⎯⎯⎯⎯⎯ Mergify Test Engine ⎯⎯⎯⎯⎯⎯⎯ (@mergifyio/vitest), Mergify Test Engine ──────── (@mergifyio/playwright) or Mergify Test Engine (@mergifyio/jest and @mergifyio/mocha). The lines under it are unchanged.

Test clients

These apply to every test client: pytest-mergify, rspec-mergify, minitest-mergify, @mergifyio/vitest, @mergifyio/playwright, @mergifyio/jest and @mergifyio/mocha.

  • The summary at the end of a run is now headed "Mergify Test Engine", in each framework's own shape: what it reports (quarantine, flaky detection, test retry, the upload) is Test Engine's. Until now, it was headed "Mergify CI".
  • Each client's README now sets up a GitHub Actions job with OIDC: grant the job id-token: write and set no token, and the client exchanges the job's ID token for a Mergify token once a trust policy of your organization allows the job. MERGIFY_TOKEN, an application key with the ci scope, is for any other CI. Until now, every README had you store a key as MERGIFY_TOKEN, on GitHub Actions too. The pytest-mergify and rspec-mergify READMEs also say where pip or Bundler installs an older release, which cannot exchange the ID token and still needs MERGIFY_TOKEN. See https://docs.mergify.com/integrations/gha/oidc/.

CI

  • In a GitHub Actions job granted id-token: write with no MERGIFY_TOKEN, mergify ci junit-process now carries on without Mergify when Mergify refuses the job's ID token, as it does until a trust policy matches the job: it uploads nothing, quarantines no test, and exits with the tests' verdict, 1 when a test failed and 0 otherwise. Its report says why under "Test results not uploaded", a ::warning:: annotation says it too, and the test_results_upload output is rejected. Until now, it exited with code 8 and failed the job, while mergify ci scopes-send and the test clients warned and carried on. A job with neither a token nor id-token: write still fails, and a MERGIFY_TOKEN that is set is still used as is.

OIDC

  • The help of mergify oidc trust-policies no longer says creating or editing a policy needs a plan that includes CI authentication with OIDC: every plan can, with an organization admin or CI Admin. mergify oidc --help now says OIDC is in Preview, open to every organization, and may still change.

Stacks

  • mergify stack list now counts a check that concludes neutral as passing, in its text and --json output, as mergify queue show already does. Until now, such a pull request showed "CI: ✗ failing" and the check had "status": "failure": on a repository with a merge queue, whose "Mergify Merge Queue" check concludes neutral on every pull request that is not queued, every stack read as failing while all its checks had passed.

Auth

  • A mergify command run with no credential now also says that an AI agent cannot complete mergify auth login, since a person approves it in a browser, and should ask its user to run it, then run the command again. Until now, it only said to run mergify auth login or set MERGIFY_TOKEN: an agent that ran the login waited on an approval nobody gave, and one that did not looked elsewhere instead of asking. The mergify ci commands' message is unchanged.

Agent skills

  • The mergify-test-engine-setup skill now sets up GitHub Actions jobs with OIDC: id-token: write on each job that reports, never on the whole workflow, no token on the step, and the upload skipped on a pull request from a fork. It checks for a trust policy and offers to write one; when you cannot, it gives you the command for an organization admin or CI Admin and opens its pull request as a draft until the policy exists. It uses a key only on another CI or when you ask for one. Until now, it fell back to a key whenever it could not tell whether a trust policy existed. Its pytest and containers references now pass ACTIONS_ID_TOKEN_REQUEST_* through tox's pass_env and into the container, without which the plugin there had no ID token to exchange.
  • The mergify-ci skill's GitHub Actions examples now use OIDC, with id-token: write and no MERGIFY_TOKEN, and it says how mergify ci junit-process carries on when the ID token is refused.
  • The mergify-ci and mergify-test-engine-setup skills no longer say writing a trust policy needs the Enterprise plan, only an organization admin or CI Admin. Until now, the setup skill sent an agent to a key when Mergify answered HTTP 402, or when you did not know whether a policy existed, saying OIDC replaced it on the Enterprise plan.
  • The mergify-merge-queue, mergify-merge-protections, mergify-config, mergify-ci and mergify-events skills now tell an agent that meets a missing Mergify credential to stop, not to run mergify auth login itself, and to ask you to run it (in Claude Code, ! mergify auth login at the prompt), then retry the same command.