Repository navigation
chore(ci): route package installs through Aegis - #190
Merged
Merged
Conversation
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
decofe
marked this pull request as draft
September 18, 2026 10:12
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
grandizzy
marked this pull request as ready for review
September 18, 2026 17:57
grandizzy
approved these changes
Sep 18, 2026
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.
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 --checkpassed. 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