Skip to content

ci: auto-merge verified Android download PRs - #98

Merged
inferjay merged 1 commit into
masterfrom
ci/auto-merge-android-downloads
Oct 9, 2026
Merged

inferjay merged 1 commit into
masterfrom
ci/auto-merge-android-downloads

Conversation

@inferjay

@inferjay inferjay commented Oct 8, 2026

Copy link
Copy Markdown
Owner

What changed

The scheduled Update Android downloads workflow now merges its own generated PR after the guarded page update and PR checks succeed. It uses the existing merge-commit strategy and does not require a repository-wide auto-merge setting.

The merge step runs only from master and only when this workflow run created or updated a PR. It checks that the PR is open, belongs to this repository, was created by github-actions[bot], targets gh-pages, and uses the automation/android-downloads branch and exact commit produced by the run. Its diff may contain only the three generated HTML pages and at most 2,000 changed lines.

The step waits up to five minutes for a successful Cloudflare Pages check on that exact commit and requires all other reported check runs to succeed. It checks that gh-pages has not advanced, honors required or requested reviews, and passes the expected head commit to gh pr merge. A failed check, timeout, changed branch, or failed merge leaves the PR open and fails the workflow for investigation.

Verification

  • python3 -m unittest discover -s tests -q — 32 tests passed, including 9 auto-merge gate tests.
  • Workflow YAML and embedded shell syntax checks passed.
  • git diff --cached --check passed.
  • Read-only comparison against the historical bot PR chore: update Android downloads #96 confirmed the real PR and Cloudflare check data match the gate's expected shape.

No bot download PR is currently open, so a live merge will be observed on the first content-changing run after this PR is merged into master.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T16:36:16.181590Z 67fdb4b PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@inferjay
inferjay merged commit 2f453b1 into master Oct 9, 2026
1 of 2 checks passed
@inferjay
inferjay deleted the ci/auto-merge-android-downloads branch October 9, 2026 07:51
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