From 9b48fa7d80ec5340cf27284f79d07e9470114d2e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:29:11 +0000 Subject: [PATCH 1/2] Initial plan From e194f5975457fde8a63a9b955830436ecc4e1249 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 14:31:04 +0000 Subject: [PATCH 2/2] Add skills and prompts folder sync support to copilot workflows Co-authored-by: einari <134365+einari@users.noreply.github.com> --- .github/workflows/bootstrap-copilot-sync.yml | 2 ++ .github/workflows/sync-copilot-instructions.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/bootstrap-copilot-sync.yml b/.github/workflows/bootstrap-copilot-sync.yml index ec6bb1a..5904c53 100644 --- a/.github/workflows/bootstrap-copilot-sync.yml +++ b/.github/workflows/bootstrap-copilot-sync.yml @@ -94,6 +94,8 @@ on: - ".github/copilot-instructions.md" - ".github/instructions/**" - ".github/agents/**" + - ".github/skills/**" + - ".github/prompts/**" jobs: propagate: diff --git a/.github/workflows/sync-copilot-instructions.yml b/.github/workflows/sync-copilot-instructions.yml index f7374eb..156ee87 100644 --- a/.github/workflows/sync-copilot-instructions.yml +++ b/.github/workflows/sync-copilot-instructions.yml @@ -73,6 +73,20 @@ jobs: echo "Copied agents folder" fi + # Copy skills folder if it exists in source + if [ -d "/tmp/source-repo/.github/skills" ]; then + rm -rf .github/skills + cp -r /tmp/source-repo/.github/skills .github/skills + echo "Copied skills folder" + fi + + # Copy prompts folder if it exists in source + if [ -d "/tmp/source-repo/.github/prompts" ]; then + rm -rf .github/prompts + cp -r /tmp/source-repo/.github/prompts .github/prompts + echo "Copied prompts folder" + fi + - name: Configure git run: | git config --global user.name "github-actions[bot]" @@ -93,6 +107,8 @@ jobs: - Updated `.github/copilot-instructions.md` (if present) - Updated `.github/instructions/` folder (if present) - Updated `.github/agents/` folder (if present) + - Updated `.github/skills/` folder (if present) + - Updated `.github/prompts/` folder (if present) **Source repository:** ${{ inputs.source_repository }} **Triggered by workflow run:** ${{ github.run_id }}