ci: centralize shared GitHub automation - #279
Merged
Merged
Conversation
somewan820
reviewed
Aug 29, 2026
somewan820
left a comment
Collaborator
There was a problem hiding this comment.
P2 Should-Fix:本 PR 删除了本地 Feishu notifier 与 release validation 的行为/安全测试,仅以 pinned reusable workflow 调用和结构断言替代。tests/github/feishu-pr-notification.test.ts 中的 metadata sanitization、注入、Unicode bounds、secret/HMAC、HTTP response 等契约,以及 release/package/OIDC 边界均不再由本仓库验证。请在 pinned automation revision 中补齐可审查的 contract/smoke coverage,并保留对 draft suppression、secret-pair、sanitization、response validation、tag/version、package integrity 的验证证据。静态审查,未运行测试。
agnitum2009
pushed a commit
to agnitum2009/openpi
that referenced
this pull request
Aug 29, 2026
* ci: source shared automation workflows * test: pin reviewed automation contracts * ci: follow automation main branch * docs: describe automation main references (cherry picked from commit efd804d)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Release and Feishu workflow implementations are stored directly in OpenPI, which duplicates organization-owned automation and couples reusable mechanics to the product repository.
Value
Centralizing shared automation gives the organization one reviewable source of truth while leaving project-specific CI close to OpenPI's package layout and tests.
Approach
openpi-dev/automationreusable workflows for OpenPI release and Feishu PR notifications.openpi-dev/automation@main; the required contract coverage was merged through automation PR #1.Validation
npm test— 16 passed, covering draft suppression, secret pairing, metadata sanitization/injection and Unicode bounds, Feishu HMAC and response validation, release event/ref/tag validation, tag/package-version integrity, artifact transfer, and publish OIDC/environment boundaries.Test actionsfor PR Test: verify GitHub Issues are enabled #1 — passed.npm run format:check— passed.npm run lint— passed.npm run typecheck— passed.npm run check— passed.npm run test— 980 passed, 1 skipped; Vitest 30 passed.Impact
mainbranch, so future merged automation changes take effect without an OpenPI SHA-update PR. npm trusted publishing continues to validate the callingrelease.yml; both caller and reusable workflow grantid-token: writewhere required. Automation changes remain protected by required review and its behavioral/workflow-contract suite.