From ad55363ca86a58a37dace7854909b36f5dae1161 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 14:47:16 +0000 Subject: [PATCH 1/2] chore: remove legacy model file sync handling --- .github/workflows/sync-actions.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync-actions.yml b/.github/workflows/sync-actions.yml index 769abb7..3977ce0 100644 --- a/.github/workflows/sync-actions.yml +++ b/.github/workflows/sync-actions.yml @@ -260,11 +260,9 @@ jobs: # Remove first so that upstream deletion is reflected here (remote wins). rm -f \ gh-aw-actions/.github/aw/compat.json \ - gh-aw-actions/.github/aw/compat.schema.json \ - gh-aw-actions/.github/aw/models.json \ - gh-aw-actions/.github/aw/model-multipliers.json + gh-aw-actions/.github/aw/compat.schema.json synced=0 - for f in compat.json compat.schema.json models.json model-multipliers.json; do + for f in compat.json compat.schema.json; do src="gh-aw/.github/aw/$f" dst="gh-aw-actions/.github/aw/$f" if [ -f "$src" ]; then @@ -288,7 +286,7 @@ jobs: done echo "::endgroup::" echo "::group::Destination — gh-aw-actions/.github/aw/ after sync" - matrix_files=$(find gh-aw-actions/.github/aw -maxdepth 1 -type f \( -name 'compat*' -o -name 'models.json' -o -name 'model-multipliers.json' \) | sort) + matrix_files=$(find gh-aw-actions/.github/aw -maxdepth 1 -type f -name 'compat*' | sort) if [ -n "$matrix_files" ]; then printf '%s\n' "$matrix_files" else @@ -312,9 +310,9 @@ jobs: # Stage the synced compatibility matrix files (see "Sync compatibility matrix files" step). # Guard each path so we never invoke `git add` on a non-existent + untracked file - # (which would fail with "pathspec did not match any files" during the dormant period - # before upstream lands the files). `git add -A` on a tracked path also stages deletions. - for f in .github/aw/compat.json .github/aw/compat.schema.json .github/aw/models.json .github/aw/model-multipliers.json; do + # (which would fail with "pathspec did not match any files"). `git add -A` on a + # tracked path also stages deletions. + for f in .github/aw/compat.json .github/aw/compat.schema.json; do if [ -f "$f" ] || git ls-files --error-unmatch "$f" >/dev/null 2>&1; then git add -A "$f" fi From 387cf156f39ce25fb522220511be205e76dbd8a7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Jun 2026 14:51:38 +0000 Subject: [PATCH 2/2] chore: clarify model file sync location --- .github/workflows/sync-actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sync-actions.yml b/.github/workflows/sync-actions.yml index 3977ce0..a1ceea5 100644 --- a/.github/workflows/sync-actions.yml +++ b/.github/workflows/sync-actions.yml @@ -256,6 +256,8 @@ jobs: # truth, alongside other fleet-wide config like releases.json. Only the matrix # files are synced; the rest of gh-aw/.github/aw/ contains gh-aw's own workflow # definitions which are not relevant to gh-aw-actions. + # Model data files are synced through actions/setup/js/ during the action folder + # rsync step, not from .github/aw/. mkdir -p gh-aw-actions/.github/aw # Remove first so that upstream deletion is reflected here (remote wins). rm -f \