Add workflow to propagate PR and Issue templates across all Cratis repos - #44
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/Cratis/Workflows/sessions/fd5e278b-4a69-4feb-b51a-da6d82782e5f Co-authored-by: einari <134365+einari@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add workflow for propagating pull request and issue templates
Add workflow to propagate PR and Issue templates across all Cratis repos
Mar 27, 2026
einari
marked this pull request as ready for review
March 28, 2026 07:24
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 new propagation workflow that pushes the PR template and Issue templates from
Cratis/Workflowsdirectly to all other Cratis repositories — same mechanics and exclusion list as the existing Copilot instructions propagation.Added
propagate-pr-templates.yml— triggers on push tomainwhen template files change or viaworkflow_dispatch; builds a dynamic parallel matrix over all non-archived Cratis repos (excludingWorkflows,cratis.github.io,StudioIssues)propagate-pr-templates.sh— pushes.github/ISSUE_TEMPLATE/**and.github/pull_request_template.mddirectly to each target repo's default branch via Git Data API; skips repos where blob SHAs are already up to date; idempotentChanged
README.md— documentspropagate-pr-templates.yml; adds template paths to the path enforcement reference table🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.