Move the sync script out of the scoped workflow into a file
Validate workflows / validate (pull_request) Successful in 16s

tools/sync_github_metadata.py holds the 221 lines that were embedded in
sync-github-metadata.yml, unchanged in behaviour and messages. The scoped
workflow now checks out TirSystem/github-action at main and runs the file
(33 lines instead of 230). The tests import the file instead of executing
the YAML. Verified live from TirSystem-BashScript/RepoFoundry with that
organisation's secrets.

Task: MIL-004#6
This commit is contained in:
2026-10-10 20:30:32 +08:00
parent 2ce02698e5
commit ac20d1c2a1
5 changed files with 285 additions and 219 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
"""Offline tests for the Python embedded in sync-github-metadata.yml."""
"""Offline tests for tools/sync_github_metadata.py."""
import io
import json