SEC-2: attribute human actor into secrets-sync audit trail (plat/mitosis#44) #2
No reviewers
Labels
No labels
agent-work
agent-working
ultracode
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/app-template!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/sec-2-sync-env-actor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements roadmap SEC-2 (#44) — app-template side.
The
sync-envworkflow now passes the human actor and the Forgejo Actions run into the secrets-cli so the platform's gitops sync commit attributes the human who set the secret instead of CI/plat-bot.Change: in the sync step, add
PLAT_ACTOR: ${{ github.actor }},PLAT_RUN_URL(server_url/repository/actions/runs/run_id), andPLAT_SHA: ${{ github.sha }}, and forward them into thedocker run(the container runs on the host daemon and does not inherit the runner'sGITHUB_*env).Pairs with the
plat/mcpSEC-2 change that reads these and writes the commit trailer.Validation: workflow YAML parses (PyYAML safe_load OK).
roadmap SEC-2 (#44)