Skip to content

chore(ci): update mirror workflow - #6019

Merged
0xcadams merged 1 commit into
mainfrom
0xcadams/ci-mirror-workflow
May 19, 2026
Merged

chore(ci): update mirror workflow#6019
0xcadams merged 1 commit into
mainfrom
0xcadams/ci-mirror-workflow

Conversation

@0xcadams

@0xcadams 0xcadams commented May 19, 2026

Copy link
Copy Markdown
Member

Updates the branch mirror workflow implementation. The new flow uses a GH app instead of a personal GH token.

@vercel

vercel Bot commented May 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
replicache-docs Ready Ready Preview, Comment May 19, 2026 6:59am
zbugs Ready Ready Preview, Comment May 19, 2026 6:59am

Request Review

@0xcadams
0xcadams requested review from aboodman, arv and tantaman May 19, 2026 06:58
@0xcadams
0xcadams marked this pull request as ready for review May 19, 2026 06:59
@0xcadams
0xcadams enabled auto-merge May 19, 2026 06:59
@0xcadams
0xcadams added this pull request to the merge queue May 19, 2026
@0xcadams
0xcadams removed this pull request from the merge queue due to a manual request May 19, 2026
@0xcadams
0xcadams merged commit a05b2bb into main May 19, 2026
26 checks passed
@0xcadams
0xcadams deleted the 0xcadams/ci-mirror-workflow branch May 19, 2026 07:26

@arv arv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines +30 to +36
for branch in sandbox terabugs; do
gh api \
--method PATCH \
"/repos/$GITHUB_REPOSITORY/git/refs/heads/$branch" \
-f "sha=$GITHUB_SHA" \
-F force=true
done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this do?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does the same thing that google mirror workflow did, but without a PAT. Mirrors those sandbox/terabugs branches to the same commit as main.

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