Skip to content

chore(ci): route package installs through Aegis - #190

Merged
grandizzy merged 3 commits into
mainfrom
centaur/secure-runner-1789725700
Sep 18, 2026
Merged

grandizzy merged 3 commits into
mainfrom
centaur/secure-runner-1789725700

Conversation

@decofe

@decofe decofe commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Extend the Aegis rollout to all applicable workflows in this repository.

Solution

Initialize the same SHA-pinned secure runner as alloy#4203 before checkout and downloads, with job-scoped id-token: write. Review all 2 workflow files and 3 job definitions.

Cover Bun installs in both the Pages build and scheduled version-update workflow; preserve the updater and deployment permissions.

Validation and limits

YAML parsing, first-step/OIDC coverage assertions, actionlint, and git diff --check passed. Local version/link checks, shellcheck, frozen Bun install, and the complete docs build passed with the pinned examples submodule.

The first live build installed Aegis successfully, then Bun received HTTP 403 fetching react@19.1.0; the root cause remains unconfirmed. The subsequent build passed with unchanged enforcement. Temporary failure-log diagnostics have been removed from both workflows at the requester's request. No package-policy exception or enforcement bypass was added. The cleanup commit requires a fresh CI result.

The action configures Cargo, npm/pnpm/Yarn/Bun, Go, pip/uv/Poetry, and RubyGems/Bundler. Fork PRs without OIDC skip package enforcement with a warning. Cached artifacts, prebuilt tools, Docker images, OS packages, and direct binary downloads are not per-package policy checks. Existing dependency/lockfile policy is preserved.

Prepared with AI assistance.

Prompted by: @grandizzy

Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
@decofe
decofe marked this pull request as draft September 18, 2026 10:12
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
@grandizzy
grandizzy marked this pull request as ready for review September 18, 2026 17:57
@grandizzy
grandizzy merged commit 0bccf31 into main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants