From 14051b7b2301c41e69d5df438cabcfa51673f2df Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sun, 22 Nov 2026 17:51:33 +0800 Subject: [PATCH] chore: remove archived QmtPlatform from downstream sync --- .github/workflows/open-downstream-qpk-pin-prs.yml | 2 -- .github/workflows/qpk-github-app-health.yml | 3 --- docs/qpk-repo-sync-auth.md | 4 ++-- docs/qpk-repo-sync-auth.zh-CN.md | 4 ++-- scripts/open_downstream_qpk_pin_prs.py | 1 - tests/test_qpk_github_app_health_workflow.py | 1 - tests/test_qpk_pin_consistency.py | 1 - 7 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/open-downstream-qpk-pin-prs.yml b/.github/workflows/open-downstream-qpk-pin-prs.yml index 762bedea..29e2430e 100644 --- a/.github/workflows/open-downstream-qpk-pin-prs.yml +++ b/.github/workflows/open-downstream-qpk-pin-prs.yml @@ -73,7 +73,6 @@ jobs: CharlesSchwabPlatform FirstradePlatform BinancePlatform - QmtPlatform CnEquitySnapshotPipelines HkEquitySnapshotPipelines UsEquitySnapshotPipelines @@ -102,7 +101,6 @@ jobs: CharlesSchwabPlatform FirstradePlatform BinancePlatform - QmtPlatform CnEquitySnapshotPipelines HkEquitySnapshotPipelines UsEquitySnapshotPipelines diff --git a/.github/workflows/qpk-github-app-health.yml b/.github/workflows/qpk-github-app-health.yml index 8f17f9f0..3cb4b065 100644 --- a/.github/workflows/qpk-github-app-health.yml +++ b/.github/workflows/qpk-github-app-health.yml @@ -58,7 +58,6 @@ jobs: CharlesSchwabPlatform FirstradePlatform BinancePlatform - QmtPlatform CnEquitySnapshotPipelines HkEquitySnapshotPipelines UsEquitySnapshotPipelines @@ -86,7 +85,6 @@ jobs: CharlesSchwabPlatform FirstradePlatform BinancePlatform - QmtPlatform CnEquitySnapshotPipelines HkEquitySnapshotPipelines UsEquitySnapshotPipelines @@ -123,7 +121,6 @@ jobs: CharlesSchwabPlatform FirstradePlatform BinancePlatform - QmtPlatform CnEquitySnapshotPipelines HkEquitySnapshotPipelines UsEquitySnapshotPipelines diff --git a/docs/qpk-repo-sync-auth.md b/docs/qpk-repo-sync-auth.md index 9234bba1..f9bcb911 100644 --- a/docs/qpk-repo-sync-auth.md +++ b/docs/qpk-repo-sync-auth.md @@ -76,8 +76,8 @@ gh workflow run advance-staged-qpk-pin.yml -R QuantStrategyLab/QuantPlatformKit ## Required repository permissions -The organization GitHub App (``) requires **Contents: Read and write** + **Pull requests: Read and write** across these 15 repositories (health checks use read-only installation tokens): +The organization GitHub App (``) requires **Contents: Read and write** + **Pull requests: Read and write** across these 14 repositories (health checks use read-only installation tokens): - `QuantPlatformKit`, `CnEquityStrategies`, `HkEquityStrategies`, `UsEquityStrategies`, `CryptoStrategies` -- `InteractiveBrokersPlatform`, `LongBridgePlatform`, `CharlesSchwabPlatform`, `FirstradePlatform`, `BinancePlatform`, `QmtPlatform` +- `InteractiveBrokersPlatform`, `LongBridgePlatform`, `CharlesSchwabPlatform`, `FirstradePlatform`, `BinancePlatform` - `CnEquitySnapshotPipelines`, `HkEquitySnapshotPipelines`, `UsEquitySnapshotPipelines`, `CryptoLivePoolPipelines` diff --git a/docs/qpk-repo-sync-auth.zh-CN.md b/docs/qpk-repo-sync-auth.zh-CN.md index 58ff40c1..5b00a51e 100644 --- a/docs/qpk-repo-sync-auth.zh-CN.md +++ b/docs/qpk-repo-sync-auth.zh-CN.md @@ -92,9 +92,9 @@ gh workflow run advance-staged-qpk-pin.yml -R QuantStrategyLab/QuantPlatformKit ## 权限要求 -组织级 GitHub App(``)需对以下 15 个仓库具有 **Contents: Read and write** + **Pull requests: Read and write** +组织级 GitHub App(``)需对以下 14 个仓库具有 **Contents: Read and write** + **Pull requests: Read and write** (health 校验只用只读 installation token): - QuantPlatformKit, CnEquityStrategies, HkEquityStrategies, UsEquityStrategies, CryptoStrategies -- InteractiveBrokersPlatform, LongBridgePlatform, CharlesSchwabPlatform, FirstradePlatform, BinancePlatform, QmtPlatform +- InteractiveBrokersPlatform, LongBridgePlatform, CharlesSchwabPlatform, FirstradePlatform, BinancePlatform - CnEquitySnapshotPipelines, HkEquitySnapshotPipelines, UsEquitySnapshotPipelines, CryptoLivePoolPipelines diff --git a/scripts/open_downstream_qpk_pin_prs.py b/scripts/open_downstream_qpk_pin_prs.py index f4183b04..74b3a381 100644 --- a/scripts/open_downstream_qpk_pin_prs.py +++ b/scripts/open_downstream_qpk_pin_prs.py @@ -87,7 +87,6 @@ class RepoSpec: RepoSpec("CharlesSchwabPlatform"), RepoSpec("FirstradePlatform"), RepoSpec("BinancePlatform"), - RepoSpec("QmtPlatform"), ) PIPELINE_CONSUMER_REPOS = ( diff --git a/tests/test_qpk_github_app_health_workflow.py b/tests/test_qpk_github_app_health_workflow.py index 86511c52..d741f1f5 100644 --- a/tests/test_qpk_github_app_health_workflow.py +++ b/tests/test_qpk_github_app_health_workflow.py @@ -20,7 +20,6 @@ "CharlesSchwabPlatform", "FirstradePlatform", "BinancePlatform", - "QmtPlatform", "CnEquitySnapshotPipelines", "HkEquitySnapshotPipelines", "UsEquitySnapshotPipelines", diff --git a/tests/test_qpk_pin_consistency.py b/tests/test_qpk_pin_consistency.py index 4aa70cfb..6f3d3def 100644 --- a/tests/test_qpk_pin_consistency.py +++ b/tests/test_qpk_pin_consistency.py @@ -62,7 +62,6 @@ def test_rollout_tiers_cover_every_direct_execution_and_p1_consumer(self) -> Non "CharlesSchwabPlatform", "FirstradePlatform", "BinancePlatform", - "QmtPlatform", }, {repo.name for repo in EXECUTION_CONSUMER_REPOS}, )