From b7eb57f5da6e1d9d942fba0659d101fa52aefb9a Mon Sep 17 00:00:00 2001 From: csh Date: Fri, 29 May 2026 16:29:30 +0800 Subject: [PATCH] :bug: fix(thirdparty): use awesome master ref Point codebase-migrate at the actual awesome-codex-skills master branch while keeping the whole-repo clone plus include_skill_dirs sync model. Add a manifest assertion so the ref does not regress to main. --- .gitea/ci/thirdparty_skills.json | 2 +- skills/thirdparty/thirdparty-skills.yml | 2 +- tests/test_thirdparty_skills_pipeline.py | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/ci/thirdparty_skills.json b/.gitea/ci/thirdparty_skills.json index 5864f5fb..50a47439 100644 --- a/.gitea/ci/thirdparty_skills.json +++ b/.gitea/ci/thirdparty_skills.json @@ -63,7 +63,7 @@ { "id": "codebase-migrate", "upstream_repo": "https://github.com/ComposioHQ/awesome-codex-skills.git", - "upstream_ref": "main", + "upstream_ref": "master", "snapshot_dir": "awesome-codex-skills", "sync_mode": "copy_skill_dirs", "source_list": "skills/thirdparty/.sources/codebase-migrate.list", diff --git a/skills/thirdparty/thirdparty-skills.yml b/skills/thirdparty/thirdparty-skills.yml index 5abe5122..eaf9d768 100644 --- a/skills/thirdparty/thirdparty-skills.yml +++ b/skills/thirdparty/thirdparty-skills.yml @@ -43,7 +43,7 @@ skills: - id: codebase-migrate sync: enabled upstream_repo: https://github.com/ComposioHQ/awesome-codex-skills - upstream_ref: main + upstream_ref: master upstream_path: codebase-migrate upstream_layout: single_skill_dir selected_for: diff --git a/tests/test_thirdparty_skills_pipeline.py b/tests/test_thirdparty_skills_pipeline.py index 25f6907a..40fef3d0 100644 --- a/tests/test_thirdparty_skills_pipeline.py +++ b/tests/test_thirdparty_skills_pipeline.py @@ -101,6 +101,11 @@ class ThirdpartySkillsPipelineTests(unittest.TestCase): migrate = next( item for item in data["sources"] if item["id"] == "codebase-migrate" ) + self.assertEqual( + migrate["upstream_repo"], + "https://github.com/ComposioHQ/awesome-codex-skills.git", + ) + self.assertEqual(migrate["upstream_ref"], "master") self.assertEqual(migrate["sync_mode"], "copy_skill_dirs") self.assertEqual(migrate["snapshot_dir"], "awesome-codex-skills") self.assertEqual(migrate["skills_subdir"], ".")