Skip to content

Add Copier Update GitHub App - #2

Merged
timkpaine merged 6 commits into
mainfrom
tkp/github-app
Aug 1, 2026
Merged

Add Copier Update GitHub App#2
timkpaine merged 6 commits into
mainfrom
tkp/github-app

Conversation

@timkpaine

@timkpaine timkpaine commented Aug 1, 2026

Copy link
Copy Markdown
Member

Adds a centrally scheduled GitHub App worker that discovers installed repositories, runs Copier updates, pushes signed branches, and opens pull requests. Target repositories need only install the app; they no longer need a Copier update workflow, PAT, or repository secret.

Adds a Cloudflare Worker control plane where personal account owners and organization owners can request updates for all, public, private, or selected installed repositories. GitHub OAuth with PKCE, encrypted sessions, CSRF checks, fresh owner authorization, and a repository-scoped dispatch token protect each request.

Generates the Python project from python-project-templates/base and records canonical Copier answers for future template updates. Project-specific Worker code and central update workflows remain layered on that scaffold.

Keeps the deprecated action.yml temporarily because existing public repositories still track actions-ext/copier-update@main. Workflow-based consumers should migrate to actions-ext/copier/update.

Worker metadata and updates.python-templates.dev are proposed in 1kbgz/terraform#6. Deployment remains disabled until the dedicated Cloudflare token, GitHub App OAuth credentials, and Worker URL are configured.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@timkpaine timkpaine changed the title Replace action with GitHub App worker Add Copier Update GitHub App Aug 1, 2026
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Test Results

15 tests   15 ✅  0s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit cb1e17a.

@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@timkpaine
timkpaine merged commit 80f3987 into main Aug 1, 2026
4 checks passed
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