Add Copier Update GitHub App - #2
Merged
Merged
Conversation
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>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Test Results15 tests 15 ✅ 0s ⏱️ Results for commit cb1e17a. |
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 ☂️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/baseand 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.ymltemporarily because existing public repositories still trackactions-ext/copier-update@main. Workflow-based consumers should migrate toactions-ext/copier/update.Worker metadata and
updates.python-templates.devare proposed in 1kbgz/terraform#6. Deployment remains disabled until the dedicated Cloudflare token, GitHub App OAuth credentials, and Worker URL are configured.