Skip to content

Add workflow_dispatch to propagate wrapper; add update-synced-workflows workflow#27

Merged
einari merged 2 commits intomainfrom
copilot/fix-propagation-workflows-trigger
Mar 9, 2026
Merged

Add workflow_dispatch to propagate wrapper; add update-synced-workflows workflow#27
einari merged 2 commits intomainfrom
copilot/fix-propagation-workflows-trigger

Conversation

Copy link
Contributor

Copilot AI commented Mar 9, 2026

The propagate wrapper installed by Bootstrap only fired on push, with no way to trigger it manually. There was also no mechanism to roll out wrapper template changes to already-bootstrapped repositories.

Changes

bootstrap-copilot-sync.sh

  • Updated propagate_b64 to include workflow_dispatch: in the installed propagate-copilot-instructions.yml wrapper
on:
  push:
    branches: ["main"]
    paths: [...]
  workflow_dispatch:   # ← added

New: update-synced-workflows.yml + update-synced-workflows.sh

  • workflow_dispatch-only workflow for propagating wrapper template updates to all Cratis repos
  • Skips repos where both wrapper files already match the current blob SHAs (idempotent)
  • Skips repos where neither wrapper is present (not yet bootstrapped — run bootstrap first)
  • For repos that need updating: creates blobs → tree → commit → update-synced-workflows branch (via GraphQL) → opens a PR
  • Same GraphQL-first, REST-fallback PR creation strategy as Bootstrap

README.md

  • Updated the getting-started propagate snippet to reflect workflow_dispatch and the full paths list
  • Added documentation for update-synced-workflows.yml

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…flows workflow

Co-authored-by: einari <134365+einari@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix manual triggering for propagation workflows Add workflow_dispatch to propagate wrapper; add update-synced-workflows workflow Mar 9, 2026
@einari einari marked this pull request as ready for review March 9, 2026 17:07
@einari einari merged commit 366b281 into main Mar 9, 2026
@einari einari deleted the copilot/fix-propagation-workflows-trigger branch March 9, 2026 17:08
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