diff --git a/crates/mergify-cli/src/main.rs b/crates/mergify-cli/src/main.rs index b37a9448..2af94785 100644 --- a/crates/mergify-cli/src/main.rs +++ b/crates/mergify-cli/src/main.rs @@ -3504,10 +3504,11 @@ struct StackPushCli { /// Don't register the stack with GitHub's native Stacks API. /// By default, `mergify stack push` registers it, so GitHub /// shows it as a stack and holds the ordering (the PR - /// descriptions then carry no `Depends-On:` header) — - /// experimental, and silently skipped where the API isn't - /// available. Default falls back to git config - /// `mergify-cli.stack-github-native` (`true` when unset). + /// descriptions then carry no `Depends-On:` header). Where the + /// API isn't available, registration is skipped and the push + /// reports `not registered on GitHub`. Default falls back to + /// git config `mergify-cli.stack-github-native` (`true` when + /// unset). #[arg( long = "no-github-native", num_args = 0, diff --git a/crates/mergify-cli/src/snapshots/mergify__tests__cli_schema_golden.snap b/crates/mergify-cli/src/snapshots/mergify__tests__cli_schema_golden.snap index 732ffe9e..0aad77ba 100644 --- a/crates/mergify-cli/src/snapshots/mergify__tests__cli_schema_golden.snap +++ b/crates/mergify-cli/src/snapshots/mergify__tests__cli_schema_golden.snap @@ -3546,11 +3546,11 @@ expression: schema "default": null, "env": null, "global": false, - "help": "Don't register the stack with GitHub's native Stacks API. By default, `mergify stack push` registers it, so GitHub shows it as a stack and holds the ordering (the PR descriptions then carry no `Depends-On:` header) — experimental, and silently skipped where the API isn't available. Default falls back to git config `mergify-cli.stack-github-native` (`true` when unset)", + "help": "Don't register the stack with GitHub's native Stacks API. By default, `mergify stack push` registers it, so GitHub shows it as a stack and holds the ordering (the PR descriptions then carry no `Depends-On:` header). Where the API isn't available, registration is skipped and the push reports `not registered on GitHub`. Default falls back to git config `mergify-cli.stack-github-native` (`true` when unset)", "id": "github_native", "kind": "option", "long": "no-github-native", - "longHelp": "Don't register the stack with GitHub's native Stacks API. By default, `mergify stack push` registers it, so GitHub shows it as a stack and holds the ordering (the PR descriptions then carry no `Depends-On:` header) — experimental, and silently skipped where the API isn't available. Default falls back to git config `mergify-cli.stack-github-native` (`true` when unset)", + "longHelp": "Don't register the stack with GitHub's native Stacks API. By default, `mergify stack push` registers it, so GitHub shows it as a stack and holds the ordering (the PR descriptions then carry no `Depends-On:` header). Where the API isn't available, registration is skipped and the push reports `not registered on GitHub`. Default falls back to git config `mergify-cli.stack-github-native` (`true` when unset)", "numArgs": "0", "possibleValues": [], "required": false, diff --git a/skills/mergify-stack/SKILL.md b/skills/mergify-stack/SKILL.md index 4c3d1d9d..1a44d10b 100644 --- a/skills/mergify-stack/SKILL.md +++ b/skills/mergify-stack/SKILL.md @@ -92,7 +92,7 @@ Use `mergify stack sync` to bring your stack up to date. It fetches the latest t Use `mergify stack list` to see which commits have been pushed, which PRs they map to, and whether the stack is up to date with the remote. It also shows CI status, review status, and merge conflicts for each PR. Use `--verbose` for detailed check names and reviewer names. Use `--json` when you need to parse the output programmatically — it includes full CI check details and review data. -## GitHub-native stacks (experimental, on by default) +## GitHub-native stacks (on by default) `mergify stack push` registers the stack with GitHub's own Stacks API by default, so GitHub renders it as a stack. Opt out per invocation with