Skip to content

Conversation

@mjun0812
Copy link
Owner

@mjun0812 mjun0812 commented Jun 7, 2025

No description provided.

Copilot AI review requested due to automatic review settings June 7, 2025 18:54
@mjun0812 mjun0812 merged commit e40e2bb into main Jun 7, 2025
4 checks passed
@mjun0812 mjun0812 deleted the feature/add-child-template-update branch June 7, 2025 18:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a GitHub Actions workflow that automatically updates a child repository from the template whenever a new release is published, with an optional manual trigger.

  • Triggers on release.published and workflow_dispatch with an input for the target repo
  • Checks out the child repo, runs uvx copier update, then creates a PR if there are changes
Comments suppressed due to low confidence (1)

.github/workflows/trigger-template-update.yml:8

  • [nitpick] The input name 'target_repository' is generic and may be confusing. Rename it to 'child_repository' or clarify in the description that it should point to a downstream repo that uses the template.
target_repository:

Comment on lines +9 to +11
description: "Target repository to update (default: mjun0812/python-project-template)"
required: false
default: "mjun0812/python-project-template"
Copy link

Copilot AI Jun 7, 2025

Choose a reason for hiding this comment

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

The default 'mjun0812/python-project-template' is the template repo itself, so on release this workflow will update the template rather than a child repo. Consider removing the default or setting it to a valid child repository, or require the input to be provided explicitly.

Suggested change
description: "Target repository to update (default: mjun0812/python-project-template)"
required: false
default: "mjun0812/python-project-template"
description: "Target repository to update"
required: true

Copilot uses AI. Check for mistakes.
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