Skip to content

ci: adopt org-level fast-forward merge - #248

Merged
AprilNEA merged 2 commits into
masterfrom
chore/fast-forward
Jul 22, 2026
Merged

ci: adopt org-level fast-forward merge#248
AprilNEA merged 2 commits into
masterfrom
chore/fast-forward

Conversation

@AprilNEA

Copy link
Copy Markdown
Member

Comment /fast-forward on a PR and this repo's master is advanced to the PR
head as-is — commit SHAs unchanged, so GPG/SSH signatures survive and the
history stays linear. GitHub's "Rebase and merge" rewrites every commit
(new committer, new SHA) and voids all signatures; the web UI offers no
fast-forward option.

All logic lives in the shared reusable workflow at
arcboxlabs/actions;
this is a ~20-line shell pinned to arcboxlabs/actions@a940102.

What it does not change

Nothing about this repo's merge policy. The gate is GitHub's own
mergeable_state — i.e. exactly what the native merge button requires right
now under our rulesets (1 approval, Copilot review, resolved threads). Change a
ruleset and the gate follows automatically; the workflow defines no policy of
its own. Repo write is required to trigger; admins can explicitly bypass with
/fast-forward bypass, which leaves an audit trail in the PR and the run log.

Prerequisites (already done)

  • arcbox-labs App is in the bypass list of both Protect default branch (org)
    and Require Reviewer (repo), mode always.
  • Org secrets BOT_APP_ID / BOT_APP_PRIVATE_KEY are reachable from this repo.

One caveat

The App has no Workflows permission, so PRs that touch .github/workflows/
cannot be fast-forwarded — including this one. Merge this with the native
button; subsequent regular PRs get signature-preserving merges.

Comment /fast-forward on a PR to advance master to the PR head as-is:
commit SHAs and their GPG/SSH signatures survive, history stays linear.
"Rebase and merge" rewrites commits and voids every signature.

Gating is whatever this repo's own rulesets already require — the shared
workflow reads GitHub's native mergeable_state and defines no policy of
its own. Pinned to arcboxlabs/actions@a940102.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f5bfe5c472

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/fast-forward.yml Outdated
@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown

Greptile Summary

This PR adds a comment-driven fast-forward merge workflow. The main changes are:

  • Triggers on /fast-forward comments on pull requests.
  • Calls the shared organization workflow at a pinned commit.
  • Passes GitHub App credentials and read/write permissions.

Confidence Score: 5/5

This looks safe to merge.

No blocking issues found in the changed code.

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex ran the requested general contract validation verification.
  • T-Rex noted that local artifact references were not uploaded with the verification.

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
.github/workflows/fast-forward.yml Adds the thin GitHub Actions caller for the shared fast-forward merge workflow.

Reviews (2): Last reviewed commit: "style(ci): English comments in the fast-..." | Re-trigger Greptile

Matches the repo's comment convention. Also repins to
arcboxlabs/actions@086869f, which carries the same change upstream.
@AprilNEA
AprilNEA merged commit 2b34527 into master Jul 22, 2026
11 checks passed
@AprilNEA
AprilNEA deleted the chore/fast-forward branch July 22, 2026 09:29
@linear-code

linear-code Bot commented Jul 22, 2026

Copy link
Copy Markdown

CORE-34

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.

1 participant