fix(agentic-ci): report authorized DCO status#819
Conversation
Limit commit-status writes to the DCO authorization job. Require dispatched workflow definitions to match main before launch.
…ntic-ci-dco-status
Code Review — PR #819:
|
Limit commit-status writes to the DCO authorization job. Require dispatched workflow definitions to match main before launch.
…ntic-ci-dco-status
Code Review — PR #819:
|
📋 Summary
This PR makes maintainer authorization of trusted Agentic CI pull requests satisfy the required
DCOAssistantbranch-protection context. On PR #816, the successful manually dispatched check ran on the exact head but was not reflected in the required PR check rollup, so this workflow now publishes an explicit commit status on the already validated head SHA.The authorization path is also hardened by limiting status-write permission to the DCO job and refusing to dispatch privileged workflow definitions that differ from current
main.🔗 Related Issue
N/A - discovered while authorizing PR #816.
🔄 Changes
DCOAssistant=successonly after the existing PR trust and exact-head validation succeeds.statuses: writeto theDCOAssistantjob.ci.ymlandagentic-ci-authorized-checks.ymlto matchmainbefore dispatch.agentic-ci-authorized-checks.ymlandauthorize-agentic-ci.yml.🔍 Attention Areas
DCOAssistantauthorization job - owns the only status-write permission and reports the required context.🧪 Testing
.venv/bin/ruff check --fix .passes.venv/bin/ruff format .passes✅ Checklist
main