🔧 chore(ci): add resilient upstream fetch fallback for superpowers update
Update Third-party Superpowers / Update thirdparty/skill snapshot (push) Successful in 1m1s

This commit is contained in:
csh
2026-02-28 11:18:49 +08:00
parent 484f9d3566
commit a97c333844
2 changed files with 98 additions and 15 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ class SuperpowersWorkflowTests(unittest.TestCase):
def test_auto_update_script_targets_thirdparty_branch(self):
text = AUTO_UPDATE_SCRIPT.read_text(encoding="utf-8")
self.assertIn('TARGET_BRANCH="${TARGET_BRANCH:-thirdparty/skill}"', text)
self.assertIn("git ls-remote", text)
self.assertIn("api.github.com/repos", text)
self.assertIn("ls-remote", text)
self.assertIn('git checkout -B "$TARGET_BRANCH" "origin/$TARGET_BRANCH"', text)