Skip to content
Closed
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
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,35 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
repository: mark-e-deyoung/winebot-contracts
# Diagnostic exact-source admission: a floating external contract
# branch makes same WineBot commit non-reproducible over time.
ref: 205666f7f0235cb0fc51ca8a5af84f9f67831a74
persist-credentials: false
path: contracts

- name: Attest exact external conformance revision
shell: bash
run: |
set -euo pipefail
expected=205666f7f0235cb0fc51ca8a5af84f9f67831a74
actual="$(git -C contracts rev-parse HEAD)"
test "$actual" = "$expected" || {
echo "CONTRACTS_SOURCE=REJECTED_REVISION_MISMATCH"
exit 1
}
test -z "$(git -C contracts status --porcelain)" || {
echo "CONTRACTS_SOURCE=REJECTED_DIRTY_CHECKOUT"
exit 1
}
echo "CONTRACTS_SOURCE=EXACT_COMMIT_VERIFIED"
echo "CONTRACTS_REVISION=$actual"
{
echo "### External conformance source custody"
echo "Contract repository: mark-e-deyoung/winebot-contracts"
echo "Exact revision: \`$actual\`"
echo "Admitted: yes; test verdict is independently determined"
} >> "$GITHUB_STEP_SUMMARY"

- uses: actions/setup-python@v5
with:
python-version: "3.12"
Expand Down
Loading