Repository navigation
ci: pin GitHub Actions to full-length commit SHAs - #69
Open
Salil Das (sadlilas) wants to merge 1 commit into
Open
Salil Das (sadlilas) wants to merge 1 commit into
Salil Das (sadlilas) wants to merge 1 commit into
Conversation
Freeze existing action versions at immutable commit SHAs and retain their original refs in comments. Workflow triggers, permissions, action inputs, and runtime bundle refs remain unchanged. Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
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.
Summary
Pin the 3 remote GitHub Actions
usesreferences in.github/workflows/tests.ymlto verified full 40-character commit SHAs. Each pin retains its original version tag as an inline human-readable comment.Changes
actions/checkout@v411d5960a326750d5838078e36cf38b85af677262actions/setup-python@v5a26af69be951a213d495a4c3e4e4022e16d87065astral-sh/setup-uv@v6d0cc045d04ccac9d8b7881df0226f9e82c39688eOnly
.github/workflows/tests.ymlchanges. Triggers, permissions, matrices, test commands, cache settings, and action inputs are preserved. Runtime source, tests, dependency declarations, and the committed lockfile are unchanged.Baseline source:
941806a4a42c84c7c239fd8e0f8ef1260f1ec32f.Validation
Local runs used macOS, uv 0.13.6, and Python 3.13.18. Test processes used isolated environments and a scratch home with no inherited provider credentials. Dependency installation used the existing lock without editing it.
uv sync --frozen --all-extras --devuv run --frozen --no-sync pytest tests -vuv run --frozen --no-sync pytest tests/test_stream_delay_default.py tests/test_typed_image_estimation.py -qactionlint -color .github/workflows/tests.ymlgit diff --checkAdditional workflow verification passed:
usessubstitutions, and required complete document equality.uses: 3 full-SHA pins, zero unpinned references.Baseline findings and limits
amplifier_foundation, imported bytests/test_goal_loop.py; collection oftests/test_live_goal_lifecycle.pythen also fails. A pristine export of baseline HEAD reproduced the same two errors and one skip (exit 2) using the same frozen environment.47fd2adf15cfc8a4552e1929f2154fdc91f5bb9a. The workflow intentionally installs current main sources, including foundation; that separate dependency-installation mode was not run because local validation was required to keep the existing frozen dependency set. This local baseline result is not a claim that the hosted workflow fails.Scope and N/As
No pre-existing issue was fixed or suppressed to make this pinning change appear green.