mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-02 10:09:02 +01:00
Own PR2936's stale pin and download-admission failures at b7e774d4. Refresh all current workflow consumers, including the newer pre-token issue-label job, with their exact static expectations and lifecycle/deployment contracts. Preserve Node 24, scoped lockfile caching, credential isolation and artifact identity/retention; reject old, mutable and arbitrary download pins.
Contract-Neutral: Immutable Actions pin refresh and coupled consumer/trust expectations only; workflow inputs, permissions, cache and credential controls, artifact identities and application/runtime contracts are unchanged.
Change-source: pulse-maintainer
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
name: UUID layout diagnostic (not qualification)
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
expected_workflow_sha:
|
|
description: Full reviewed main SHA containing this diagnostic
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: uuid-layout-diagnostic
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
diagnostic:
|
|
if: github.repository == 'rcourtman/Pulse' && github.ref == 'refs/heads/main'
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 45
|
|
steps:
|
|
- name: Bind execution to reviewed workflow source
|
|
env:
|
|
EXPECTED_SHA: ${{ inputs.expected_workflow_sha }}
|
|
run: |
|
|
set -euo pipefail
|
|
[[ "$EXPECTED_SHA" =~ ^[0-9a-f]{40}$ ]]
|
|
[[ "$GITHUB_SHA" == "$EXPECTED_SHA" ]]
|
|
[[ "$GITHUB_RUN_ATTEMPT" == 1 ]]
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
|
with:
|
|
go-version: '1.26.7'
|
|
cache: false
|
|
- name: Collect fixed four-condition UUID evidence
|
|
run: python3 scripts/diagnose-uuid-layout.py --output uuid-layout-evidence
|
|
- name: Retain partial or complete diagnostic evidence only
|
|
if: always()
|
|
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
with:
|
|
name: uuid-layout-diagnostic-${{ github.run_id }}-${{ github.run_attempt }}
|
|
path: uuid-layout-evidence/
|
|
if-no-files-found: warn
|
|
retention-days: 30
|