Skip to content

Conversation

natalialuzuriaga
Copy link
Collaborator

Workflow: Add GitHub Action to sync repo-scaffolder templates with GitHub template repositories

Problem

Currently, if a change is made to our repository templates in repo-scaffolder, we would have to manually make this update and sync up our GitHub template repositories. We would like to use a GitHub Action that automatically syncs changes between repo-scaffolder templates and our template repostiories.

Solution

Result

When a change has been made to a template and this has been merged to main, this triggers this workflow where a PR will be made to the GitHub template repository adding this change, syncing up the template repository with repo-scaffolder main.

Still some open-ended questions

  • Do we want to auto-merge these PRs or still undergo a review instead?
  • TODO @natalialuzuriaga : Draft a PR message and commit messages, look into PR settings
  • TODO @natalialuzuriaga : Create and add PAT to repository

Test Plan

Did testing on a fork and here is a PR that syncs up changes between natalialuzuriaga/repo-scaffolder and natalialuzuriaga/tier1: natalialuzuriaga/tier1#6

@natalialuzuriaga natalialuzuriaga marked this pull request as ready for review October 6, 2025 16:13
…in permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
decause-gov
decause-gov previously approved these changes Oct 8, 2025
Copy link
Contributor

@decause-gov decause-gov left a comment

Choose a reason for hiding this comment

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

LGTM +1 🚢

Signed-off-by: Natalia Luzuriaga <[email protected]>
decause-gov
decause-gov previously approved these changes Oct 8, 2025
Copy link
Contributor

@decause-gov decause-gov left a comment

Choose a reason for hiding this comment

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

LGTM +1 🚢

Copy link
Contributor

@decause-gov decause-gov left a comment

Choose a reason for hiding this comment

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

LGTM +1 🚢

@natalialuzuriaga natalialuzuriaga merged commit 1dd0c21 into main Oct 9, 2025
8 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.

2 participants