Skip to content

ci: prepare for merge queue and approve Dependabot PRs as a code owner - #463

Merged
jgoux merged 3 commits into
mainfrom
ci/merge-queue
Nov 3, 2026
Merged

jgoux merged 3 commits into
mainfrom
ci/merge-queue

Conversation

@jgoux

@jgoux jgoux commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Merge queue readiness

  • ci.yml, e2e.yml, licensed.yml now also trigger on merge_group. The required checks (CI, E2E, Licensed) report for queued entries: the CI and E2E summary jobs run on pull_request and merge_group, and the Licensed job always runs.
  • Licensed detects changed license inputs from the merge group's base..head range, mirroring the PR file check.
  • The license-update job (which pushes) stays workflow_dispatch-only.

Dependabot approval

Recent Dependabot PRs were each approved by the app and then still needed a human approval, since an app review cannot satisfy the org's code-owner requirement.

  • dependabot.yml now uses pull_request_target in the auto-approve environment (already present, deploys only from main) and never checks out PR code. It is gated on the PR author and event sender both being dependabot[bot], a same-repo head, and non-draft.
  • Non-major gating via dependabot/fetch-metadata is unchanged. The supabase-oss token (AUTO_APPROVE_PR_PAT) approves unless the PR is already approved, then gh pr merge --auto --squash runs with GITHUB_TOKEN.
  • CODEOWNERS adds @supabase-oss as co-owner of workflows, package.json and bun.lock, except dependabot.yml, which stays with @supabase/cli.

Run CI, E2E and Licensed on merge_group so the required checks report for queued entries, and detect changed license inputs from the merge group range.

Rework the Dependabot workflow to pull_request_target in the auto-approve environment so the supabase-oss token approves non-major updates. An app approval cannot satisfy the code-owner review, so supabase-oss is now a co-owner of the files Dependabot updates.
@jgoux jgoux self-assigned this Nov 3, 2026
@jgoux
jgoux requested a review from a team as a code owner November 3, 2026 09:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 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-11-03T10:14:21.046367Z 8366ba6 New commits
ℹ️ 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.

@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: 8d06d0ec55

ℹ️ 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/dependabot.yml Resolved
Comment thread .github/workflows/dependabot.yml Resolved
Comment thread .github/CODEOWNERS Resolved

@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: 8366ba649a

ℹ️ 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/CODEOWNERS Resolved
Comment thread .github/workflows/licensed.yml Resolved
@jgoux
jgoux merged commit 378575a into main Nov 3, 2026
32 checks passed
@jgoux
jgoux deleted the ci/merge-queue branch November 3, 2026 11:57
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.

2 participants