ci: fix main trigger and harden workflow action pins#1
Merged
Conversation
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.
Base SHA: 341cb19
Summary
.github/workflows/ci.yml: switched the push branch filter frommastertomainand updatedactions/checkoutto the requested immutable SHA pin while preserving the existing checkout hardening and Rust checks..github/workflows/fuzz.yml: addedpermissions: contents: read, pinned checkout and upload-artifact actions to immutable SHAs, and disabled persisted checkout credentials..github/workflows/pages.yml: pinned checkout, upload-pages-artifact, and deploy-pages actions to immutable SHAs, and disabled persisted checkout credentials.Cargo.toml: normalized the repository URL casing tohttps://github.com/Conalh/warden.Validation
cargo fmt --all -- --check: passedcargo clippy --all-targets --locked -- -D warnings: passedcargo test --all --locked: passed (75 library tests, 22 integration tests, 3 parser robustness tests, 1 doctest)cargo build --release --locked: passedgit diff --check: passedactionlint .github/workflows/*.yml: not performed;actionlintis not installed in the local environmentuses:reference is pinned to a 40-character commit SHA@v3,@v4,@v5,@v6, or@v7references remainmaster.github/workflows/ci.yml,.github/workflows/fuzz.yml,.github/workflows/pages.yml, andCargo.tomlchangedNo Rust source, tests, examples, documentation, policy semantics, CLI behavior, WASM behavior, or generated assets were changed.
Barbican compatibility
341cb19a05305c09641cfbb7d3b3fbf23233f1fa659d3effee49be6ef5e604ceabc82d08d66aa1cf73acbe17b9d47b5b195d17c9629a5b767588616889409673b1943460f3262011418d085844de697ed7b60697df3f1c37319e636268a46355b6bbd607v24.15.011.13.0rustc 1.95.0 (59807616e 2026-04-14)cargo 1.95.0 (f2d3ce0bd 2026-03-21)Build order used for the frozen Barbican workspace:
cargo build --lockedpassedcargo build --lockedpassednpm cipassed;npm run buildpassednpm cipassed;npm run buildpassednpm cipassed;npm run buildpassedBaseline Barbican verification:
BARBICAN_WARDEN=<base-warden.exe> npm run verifyrun_shell/git statusreached downstream exactly oncetools/call, the allowedgit statuscallbarbicanandcapability_echoreports validated against agent-gov-coreCandidate Barbican verification:
BARBICAN_WARDEN=<candidate-warden.exe> npm run verifyrun_shell/git statusreached downstream exactly oncetools/call, the allowedgit statuscallbarbicanandcapability_echoreports validated against agent-gov-coreNo source or tracked files remain modified in the temporary
barbican,agent-gov-core, orCapabilityEchocheckouts after the compatibility run.