Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/lib/lock-closure-receipts.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459
hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0
hyperpolymath/proven-cicd-and-workflows 50a443f01b1b85e4957b893a6f1a0ed2e8a52459 taiki-e/install-action@ab49d3c64680143e184118bed66a46419fc15519

# Reviewed source: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@f2c0604880f615bec5edda7aaefc8feac3d04cc5
hyperpolymath/hypatia f2c0604880f615bec5edda7aaefc8feac3d04cc5 step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a
# Reviewed source: hyperpolymath/hypatia/.github/workflows/credential-read-check.yml@d158aed87f76b93e4f291e995bef9f26559c7fb2
hyperpolymath/hypatia d158aed87f76b93e4f291e995bef9f26559c7fb2 step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a
2 changes: 1 addition & 1 deletion scripts/lib/pinned-reusable-sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
},
{
"repository": "hyperpolymath/hypatia",
"commit": "f2c0604880f615bec5edda7aaefc8feac3d04cc5",
"commit": "d158aed87f76b93e4f291e995bef9f26559c7fb2",
"path": ".github/workflows/credential-read-check.yml",
"blob": "15c597ea720a5affb861dab058084f7245ee4cbd",
"content_sha256": "645e8ac8ff118c33f2dc941ec46f1abac895f7836339736841c269e4b9dc084d",
Expand Down
17 changes: 11 additions & 6 deletions scripts/post-pin-bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
#
# Post-pin-bump hook: the repo's half of the "single pin writer" contract.
#
# The Action pins applier (metadatastician/standards) moves third-party
# `uses:` SHAs and actions.lock. It cannot write scripts/lib/*, and it skips
# first-party owners, so a bump of a pinned reusable-workflow commit leaves the
# source closure files (the manifest and the receipts) describing the old
# commit and main goes red. This hook re-attests the PIN-ONLY case and refuses
# everything else:
# Two writers in metadatastician/standards move this repository's pins: the Action
# pins applier (third-party `uses:` SHAs, actions.lock, and first-party reusable-
# workflow pins such as hyperpolymath/hypatia, standards#1729) and
# apply-workflow-pins (metadatastician/standards pins, standards#1732). Neither
# may write scripts/lib/*, so a moved reusable-workflow pin would leave the
# source closure files (the manifest and the receipts) describing the old commit
# and main red. Both run this hook in a token-less job before they open their
# PR. It re-attests the PIN-ONLY case and refuses everything else; on a refusal
# the writer opens the move WITHOUT any file from this hook, labelled
# needs-source-review, for a person to attest (3-practice/ACTION-PINS-APPLIER.adoc
# in standards):
#
# * a pin-only bump means the caller's reusable workflow now points at a new
# commit of the SAME repository and path, and the workflow file there is
Expand Down
Loading