Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/bootstrap-copilot-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ name: Bootstrap Copilot Sync
# the content has changed since last run.
# • Already up-to-date: skips processing.
#
# Triggered automatically on push to main whenever this script changes
# (e.g. updated wrapper content or a new Copilot folder path). Can also
# be run manually at any time via workflow_dispatch.
# This workflow is intentionally manual. It performs org-wide writes and can
# consume a large GitHub REST API budget, so it should not run as a merge check.
#
# Requires PAT_WORKFLOWS secret with permissions:
# Classic PAT: repo + workflow scopes
Expand All @@ -32,18 +31,19 @@ name: Bootstrap Copilot Sync
# changes.

on:
push:
branches: ["main"]
paths:
- ".github/scripts/bootstrap-copilot-sync.sh"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: bootstrap-copilot-sync
cancel-in-progress: false

jobs:
bootstrap:
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ Lists all repositories in the Cratis organization and pushes the Copilot instruc

**Trigger:** `workflow_dispatch` (run once, manually)

This workflow is intentionally manual because it performs organization-wide writes and can consume a large GitHub REST API budget. Use it for planned bootstrap or wrapper rollout work, not as a merge-triggered check.

One-time setup workflow. For every non-archived repository in the Cratis organization (except `Workflows` itself), it:

1. Creates a branch `add-copilot-sync-workflows`
Expand Down