diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index f932eee..a966904 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -7,8 +7,10 @@ workflows: - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' '.github/workflows/build-notification.yml': - 'actions/checkout@v7.0.1' + '.github/workflows/ci-gate-tamper-guard.yml': + - 'hyperpolymath/proven-cicd-and-workflows@09878f2a2c0a8907cc69fe48973ea604753ecab1' '.github/workflows/ci-gate.yml': - - 'hyperpolymath/proven-cicd-and-workflows@0862fe8b4001ccc5bbfda925ef31dfd232d2c0a7' + - 'hyperpolymath/proven-cicd-and-workflows@09878f2a2c0a8907cc69fe48973ea604753ecab1' '.github/workflows/codeql.yml': - 'actions/checkout@v7.0.1' - 'github/codeql-action@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee' @@ -177,9 +179,9 @@ dependencies: commit: 'sha1-0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d' owner_id: 75048950 repo_id: 623796603 - 'hyperpolymath/proven-cicd-and-workflows@0862fe8b4001ccc5bbfda925ef31dfd232d2c0a7': + 'hyperpolymath/proven-cicd-and-workflows@09878f2a2c0a8907cc69fe48973ea604753ecab1': ref: 'main' - commit: 'sha1-0862fe8b4001ccc5bbfda925ef31dfd232d2c0a7' + commit: 'sha1-09878f2a2c0a8907cc69fe48973ea604753ecab1' owner_id: 6759885 repo_id: 1326697643 'hyperpolymath/smtp-notify-action@v0.5.1': diff --git a/.github/workflows/ci-gate-tamper-guard.yml b/.github/workflows/ci-gate-tamper-guard.yml index 5db0fd1..ec9aa7f 100644 --- a/.github/workflows/ci-gate-tamper-guard.yml +++ b/.github/workflows/ci-gate-tamper-guard.yml @@ -17,4 +17,4 @@ permissions: jobs: guard: - uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate-tamper-guard.yml@d49708186e7234c2e1bcce2ceda7aed44a64c08d # cicd-suite tamper guard + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate-tamper-guard.yml@09878f2a2c0a8907cc69fe48973ea604753ecab1 # cicd-suite tamper guard diff --git a/.github/workflows/ci-gate.yml b/.github/workflows/ci-gate.yml index 2407113..3253ad6 100644 --- a/.github/workflows/ci-gate.yml +++ b/.github/workflows/ci-gate.yml @@ -55,7 +55,7 @@ permissions: {statuses: write, actions: read, contents: read, pull-requests: rea jobs: gate: if: github.event_name != 'pull_request' && (github.event_name != 'workflow_run' || github.event.workflow_run.name != 'CI gate') - uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate.yml@d49708186e7234c2e1bcce2ceda7aed44a64c08d # cicd-suite ci-gate + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate.yml@09878f2a2c0a8907cc69fe48973ea604753ecab1 # cicd-suite ci-gate with: {context: "CI/gate"} # The pull_request start (permanent). workflow_run, schedule and workflow_dispatch run only from the # default branch, so without this job the pull request that adds or changes the gate never gets the @@ -67,5 +67,5 @@ jobs: # unless the owner has approved it. gate-pr: if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository - uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate.yml@d49708186e7234c2e1bcce2ceda7aed44a64c08d # cicd-suite ci-gate + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate.yml@09878f2a2c0a8907cc69fe48973ea604753ecab1 # cicd-suite ci-gate with: {context: "CI/gate"} diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index eb55b5a..494046f 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -10,6 +10,18 @@ https://semver.org/spec/v2.0.0.html[Semantic Versioning]. ==== Fixed +* The CI gate reusable is re-pinned to hyperpolymath/proven-cicd-and-workflows + `09878f2a2c0a8907cc69fe48973ea604753ecab1`, up from `d49708186e72`, to stop a + false `CI/gate` failure when a workflow name contains an emoji (GitHub + rejects 4-byte UTF-8 in a status description; fixed in + hyperpolymath/proven-cicd-and-workflows#144, seen on + hyperpolymath/resource-algebra#48). Both callers, `actions.lock` and + `tests/workflows/squabble_gate_test.sh` carry the new pin. `actions.lock` + also gains the key for `ci-gate-tamper-guard.yml` and drops the stale + `0862fe8` record, so `scripts/check-lock-sync.sh` passes again. The new pin + is still a commit on an unmerged suite branch, so a second re-pin follows the + squash merge of hyperpolymath/proven-cicd-and-workflows#139. + * The census picked a repository's status document by alphabetical order, so a template-era `PROOF-NEEDS.adoc` was chosen over the real ledger beside it. `scripts/census/build-rows.sh` now prefers `PROOF-STATUS`, then diff --git a/tests/workflows/squabble_gate_test.sh b/tests/workflows/squabble_gate_test.sh index 086dec5..eeff185 100755 --- a/tests/workflows/squabble_gate_test.sh +++ b/tests/workflows/squabble_gate_test.sh @@ -304,7 +304,7 @@ assert_rc 2 'missing workflow directory is setup failure' bash "$REPO_ROOT/scrip echo "=== 5b. Typed status mapping: a workflow_run commit-status publisher ===" # `CI/gate => status:` is certified as a publisher, never as a job name. SUITE_REUSABLE='hyperpolymath/proven-cicd-and-workflows/.github/workflows/ci-gate.yml' -SUITE_PIN='0862fe8b4001ccc5bbfda925ef31dfd232d2c0a7' +SUITE_PIN='09878f2a2c0a8907cc69fe48973ea604753ecab1' status_tree="$WORK/status-publisher" fresh_status() { # fresh_status [uses] [context] [on-block] local uses="${1:-$SUITE_REUSABLE@$SUITE_PIN}" ctx="${2:-CI/gate}"