Skip to content

Commit b29b5b4

Browse files
ci(governance): refresh stale standards reusables; drop retired scorecard-enforcer; add job timeouts (#22)
Fixes the pre-existing `governance / Check Workflow Staleness` failure (and the related Hypatia workflow_audit findings) flagged against the current standards baseline (SHA 5a93d9d). These live on main and block every PR; this is the separate refresh PR. - Remove retired .github/workflows/scorecard-enforcer.yml (superseded by scorecard.yml -> standards scorecard-reusable.yml). - Bump stale standards reusable pins to 5a93d9d57cc04de4002d6d0ecd336fc7a8698910: governance.yml (@main -> SHA), hypatia-scan.yml, scorecard.yml. The refreshed Scorecard reusable also resolves the "SARIF to Code Scanning" finding. - Add timeout-minutes to every job flagged by Hypatia workflow_audit: casket-pages (2), codeql, dependabot-automerge, dogfood-gate (6), instant-sync. Verified: governance/hypatia/scorecard reusables all exist at 5a93d9d in hyperpolymath/standards; edited workflows parse (dogfood-gate's pre-existing embedded python heredoc trips naive YAML parsers but is unchanged here and runs in CI). Claude-Session: https://claude.ai/code/session_01UCnxjXkN6uDj9YSANuGEgR Co-authored-by: Claude <noreply@anthropic.com>
1 parent fae8361 commit b29b5b4

9 files changed

Lines changed: 14 additions & 84 deletions

.github/workflows/casket-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818
jobs:
1919
build:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 30
2122
steps:
2223
- name: Checkout
2324
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
@@ -109,6 +110,7 @@ jobs:
109110
name: github-pages
110111
url: ${{ steps.deployment.outputs.page_url }}
111112
runs-on: ubuntu-latest
113+
timeout-minutes: 30
112114
needs: build
113115
steps:
114116
- name: Deploy to GitHub Pages

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ permissions:
2323
jobs:
2424
analyze:
2525
runs-on: ubuntu-latest
26+
timeout-minutes: 30
2627
permissions:
2728
contents: read
2829
security-events: write

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
# Only run for PRs actually authored by Dependabot.
5151
if: github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]'
5252
runs-on: ubuntu-latest
53+
timeout-minutes: 10
5354

5455
steps:
5556
- name: Fetch Dependabot metadata

.github/workflows/dogfood-gate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
a2ml-validate:
2323
name: Validate A2ML manifests
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 15
2526

2627
steps:
2728
- name: Checkout repository
@@ -66,6 +67,7 @@ jobs:
6667
k9-validate:
6768
name: Validate K9 contracts
6869
runs-on: ubuntu-latest
70+
timeout-minutes: 15
6971

7072
steps:
7173
- name: Checkout repository
@@ -115,6 +117,7 @@ jobs:
115117
empty-lint:
116118
name: Empty-linter (invisible characters)
117119
runs-on: ubuntu-latest
120+
timeout-minutes: 15
118121

119122
steps:
120123
- name: Checkout repository
@@ -179,6 +182,7 @@ jobs:
179182
groove-check:
180183
name: Groove manifest check
181184
runs-on: ubuntu-latest
185+
timeout-minutes: 15
182186

183187
steps:
184188
- name: Checkout repository
@@ -237,6 +241,7 @@ jobs:
237241
eclexiaiser-validate:
238242
name: Validate eclexiaiser manifest
239243
runs-on: ubuntu-latest
244+
timeout-minutes: 15
240245

241246
steps:
242247
- name: Checkout repository
@@ -300,6 +305,7 @@ print(f'Valid: {project[\"name\"]} ({len(functions)} function(s))')
300305
dogfood-summary:
301306
name: Dogfooding compliance summary
302307
runs-on: ubuntu-latest
308+
timeout-minutes: 15
303309
needs: [a2ml-validate, k9-validate, empty-lint, groove-check, eclexiaiser-validate]
304310
if: always()
305311

.github/workflows/governance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ permissions:
3131

3232
jobs:
3333
governance:
34-
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@main
34+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@5a93d9d57cc04de4002d6d0ecd336fc7a8698910

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ permissions:
2525

2626
jobs:
2727
hypatia:
28-
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@915139d73560e65a8240b8fc7768698658502c89
28+
uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@5a93d9d57cc04de4002d6d0ecd336fc7a8698910
2929
secrets: inherit

.github/workflows/instant-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414
jobs:
1515
dispatch:
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
steps:
1819
- name: Trigger Propagation
1920
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v3

.github/workflows/scorecard-enforcer.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ permissions: read-all
1212

1313
jobs:
1414
analysis:
15-
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@e0caf11508a3989574713c78f5f444f2ce5e33ef
15+
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@5a93d9d57cc04de4002d6d0ecd336fc7a8698910
1616
secrets: inherit

0 commit comments

Comments
 (0)