Compare commits

...
Author SHA1 Message Date
james.maesandCodex 6806de4892 fix: validate MCP pull requests once
Co-Authored-By: Codex <noreply@openai.com>
2026-10-20 19:43:46 -05:00
2 changed files with 3 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@
"on": {
"push": {
"branches": [
"**"
"main"
]
},
"pull_request": {
+2 -1
View File
@@ -51,7 +51,8 @@ class SpecialistNativeTests(unittest.TestCase):
self.assertEqual(steps[3], original['jobs']['build-and-test']['steps'][3])
self.assertEqual(steps[4]['if'], 'always()')
caller = bridge.canonical('mcp-rag', SHA)
self.assertEqual(caller['on']['push'], {'branches': ['**']})
# Feature branches run once through the PR event, not also on push.
self.assertEqual(caller['on']['push'], {'branches': ['main']})
self.assertEqual(caller['on']['pull_request'], {'branches': ['main']})
self.assertEqual(caller['jobs']['validate']['secrets'], {
'QQQ_MCP_VOYAGE_API_KEY': '${{ secrets.QQQ_MCP_VOYAGE_API_KEY }}'})