-
Notifications
You must be signed in to change notification settings - Fork 4
[ACP-HARDEN-260] GitHub Actions supply-chain policyをfull-SHA基準で強化する #3664
Copy link
Copy link
Open
Labels
area:contractsSchemas and contractsSchemas and contractsassurance-control-planeAgent-neutral assurance control plane roadmapAgent-neutral assurance control plane roadmapcodex-readyIssue body is structured for Codex CLI executionIssue body is structured for Codex CLI executionpriority:p1Important next sliceImportant next slicerisk:highHigh risk PR (approval and gate labels required)High risk PR (approval and gate labels required)type:taskImplementation taskImplementation task
Description
Activity
Metadata
Metadata
Assignees
Labels
area:contractsSchemas and contractsSchemas and contractsassurance-control-planeAgent-neutral assurance control plane roadmapAgent-neutral assurance control plane roadmapcodex-readyIssue body is structured for Codex CLI executionIssue body is structured for Codex CLI executionpriority:p1Important next sliceImportant next slicerisk:highHigh risk PR (approval and gate labels required)High risk PR (approval and gate labels required)type:taskImplementation taskImplementation task
Parent: #3655
Depends on: —
Blocks: #3640
Codex lane:
ci/actions-supply-chain-hardening背景
現行workflow/composite actionには
actions/checkout@v4、actions/setup-node@v4等のmoving tag参照が残る。Private Matchでは、第三者Actionのfull commit SHA、release tag comment、persist-credentials: false、minimum permissions、bounded timeout、untrusted PR laneのnetwork/write制約を標準化した。Assurance Control Plane自身のCI supply chainは、consumerへ要求する水準以上に監査可能である必要がある。
目的
repository-wideのActions supply-chain policy、validator、migrationを追加し、workflowとcomposite actionをfail closedで検査する。
Codex CLI preflight
.github/workflows/*.yml.github/actions/**/action.ymlPolicy requirements
最低限:
uses:は40桁full commit SHAへpinする。actions/checkoutは原則persist-credentials: false。timeout-minutesを要求する。pull_requestlaneでwrite token、secret、artifact publication、外部networkを使用しない。pull_request_targetは別policyで厳格に制限し、untrusted head checkoutとの組合せを禁止する。実装タスク
scripts/ci/check-actions-supply-chain.mjs等のoffline validatorを追加する。Acceptance criteria
actions/checkoutのcredential persistenceが全trusted/untrusted laneで明示される。Validation
pnpm -s run check:doc-consistencypnpm -s run verify:lite非目標
Stop condition