Skip to content
Merged
6 changes: 4 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
with:
components: llvm-tools-preview

- uses: taiki-e/install-action@e891bb389537b38fb955c19833f884ca3188a61d # cargo-llvm-cov
- uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # cargo-llvm-cov
with:
tool: cargo-llvm-cov

- name: Generate coverage
run: |
Expand All @@ -56,7 +58,7 @@ jobs:

- name: Upload coverage to Codecov
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v6.0.2
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
Comment thread
EffortlessSteven marked this conversation as resolved.
Resolved
with:
files: lcov.info
flags: rust
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npm-package-qualification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
env:
NPM_VERSION: ${{ matrix.npm }}
run: npm install --global --ignore-scripts "npm@$NPM_VERSION"
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
name: npm-prepared-${{ github.run_id }}-${{ github.run_attempt }}
path: evidence
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
package-manager-cache: false
- name: Select exact staging client
run: npm install --global --ignore-scripts npm@11.15.0
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
name: npm-prepared-${{ github.run_id }}-${{ github.run_attempt }}
path: evidence
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
npm install --global --ignore-scripts --registry=https://registry.npmjs.org npm@11.15.0
test "$(node --version)" = v24.19.0
test "$(npm --version)" = 11.15.0
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
artifact-ids: ${{ needs.admission.outputs.artifact_id }}
path: dist
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
with:
ref: ${{ github.sha }}
persist-credentials: false
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
artifact-ids: ${{ needs.stage.outputs.result_artifact_id }}
path: response
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: python3 .github/scripts/pypi_admission.py authorize
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
artifact-ids: ${{ steps.authorize.outputs.artifact_id }}
run-id: ${{ inputs.qualification_run_id }}
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
id-token: write
steps:
# Deliberately no checkout, pip install, build, or package execution here.
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
artifact-ids: ${{ needs.admission.outputs.artifact_id }}
path: dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-wheel-qualification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ jobs:
echo "::error::Qualification cannot reuse a build from another attempt. Select Re-run all jobs, not Re-run failed jobs."
exit 1
fi
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
name: pypi-qualified-wheel-${{ github.run_id }}-${{ github.run_attempt }}
path: evidence
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/routed-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:
--repository "$REPOSITORY" \
--workflow "$WORKFLOW"
- name: Install nextest
uses: taiki-e/install-action@1ed6d7be6168f6c9046541087ff549b6bc581fdf # v2
uses: taiki-e/install-action@8cca0918f8471c33515202b73f56ab27f2bed283 # v2
with:
tool: nextest
# Each planned command records its own terminal state before its exit code
Expand Down Expand Up @@ -626,7 +626,7 @@ jobs:
id: evidence_download
if: always()
continue-on-error: true
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
name: ripr-routed-rust-evidence-${{ github.run_id }}-${{ github.run_attempt }}
path: target/ripr/reports/
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:

- uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable

- uses: taiki-e/install-action@718993db25d12d67fe704d6aa97369e03d3803c8 # cargo-deny
- uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # cargo-deny
Comment thread
EffortlessSteven marked this conversation as resolved.
Resolved
with:
tool: cargo-deny

- run: cargo-deny check advisories licenses bans sources

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server-archive-qualification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ jobs:
with:
toolchain: stable

- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
with:
pattern: ripr-server-qualification-*
path: dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/source-promotion-admission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ jobs:

- name: Download pre-enforcement evidence into a fresh runner-owned root
if: always()
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
Comment thread
EffortlessSteven marked this conversation as resolved.
Resolved
with:
name: ${{ steps.initialize.outputs.artifact_name }}
path: ${{ runner.temp }}/ripr-source-promotion-admission/downloaded
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
shared-key: ripr-test-analytics-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}

- uses: taiki-e/install-action@040ce91a9a9db140750a142d8c3e66f94ce198bd # nextest
- uses: taiki-e/install-action@68a389c788b2cd04016ce8c80ee23b80d2ab3d68 # nextest
with:
tool: nextest

- name: Run Rust tests with JUnit output
run: cargo nextest run --workspace --all-features --profile ci
Expand All @@ -52,7 +54,7 @@ jobs:

- name: Upload test results to Codecov
if: ${{ !cancelled() && env.CODECOV_TOKEN != '' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)) }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v6.0.2
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: target/nextest/ci/junit.xml
report_type: test_results
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ qualification and publication histories.
preparation receipt; rejection retains diagnostics without successful files.
This does not attest, verify provenance, authorize uploads or close #1502.

- Update pinned Actions for package artifact retrieval and coverage reporting,
including artifact download retries and Codecov verification-key import
handling. Keep generic tool installers explicit (`cargo-deny`, `cargo-llvm-cov`
and `nextest`) and align exact artifact-pin contract checks with the selected
download action (#1891).

### Release coordination

- Require identity-bound native v2 acceptance for current source-promotion
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10389,7 +10389,7 @@ fn server_archive_qualification_workflow_is_sha_bound_and_credential_free() -> R
.count()
!= 2
|| candidate
.matches("actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c")
.matches("actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333")
.count()
!= 1
|| candidate.contains("release-upload-assets")
Expand Down
2 changes: 1 addition & 1 deletion xtask/tests/source_promotion_workflow_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
"if: always() && steps.enforce.outcome == 'success'",
"--admission-packet \"$ADMISSION_ROOT/downloaded/workflow-packet\"",
"--out \"$ADMISSION_FINAL_EVIDENCE\"",
"actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8",
"actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8",

Check warning on line 307 in xtask/tests/source_promotion_workflow_contract.rs

View workflow job for this annotation

GitHub Actions / Ripr Rust Small on GitHub Hosted

ripr note static_unknown

Escalate to real mutation testing or deep static analysis for this probe. Suggested test%3A Inspect the producer-owned review finding.
"sha256sum --check transport-index.sha256",
"diff --recursive --no-dereference \"$ADMISSION_OUT\" \"$downloaded\"",
"test \"$TRUSTED_CHECKER_IDENTITY\" = \"source-owned-xtask@$WORKFLOW_SOURCE_SHA\"",
Expand Down
Loading