Skip to content

Add workflow to propagate PR and Issue templates across all Cratis repos - #44

Merged
einari merged 2 commits into
mainfrom
copilot/propagate-templates-to-repos
Mar 28, 2026
Merged

einari merged 2 commits into
mainfrom
copilot/propagate-templates-to-repos

Conversation

Copilot AI commented Mar 27, 2026 •

Copy link
Copy Markdown
Contributor

Adds a new propagation workflow that pushes the PR template and Issue templates from Cratis/Workflows directly to all other Cratis repositories — same mechanics and exclusion list as the existing Copilot instructions propagation.

Added

  • propagate-pr-templates.yml — triggers on push to main when template files change or via workflow_dispatch; builds a dynamic parallel matrix over all non-archived Cratis repos (excluding Workflows, cratis.github.io, StudioIssues)
  • propagate-pr-templates.sh — pushes .github/ISSUE_TEMPLATE/** and .github/pull_request_template.md directly to each target repo's default branch via Git Data API; skips repos where blob SHAs are already up to date; idempotent

Changed

  • README.md — documents propagate-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.

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
Copilot AI requested a review from einari March 27, 2026 13:55
@einari
einari marked this pull request as ready for review March 28, 2026 07:24
@einari
einari merged commit 6fbcd95 into main Mar 28, 2026
@einari
einari deleted the copilot/propagate-templates-to-repos branch March 28, 2026 07:24
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