Skip to content

Commit 80f7151

Browse files
Merge branch 'main' into fix/secret-scanner-job-level-hashfiles
2 parents cc15463 + 647a96e commit 80f7151

15 files changed

Lines changed: 379 additions & 745 deletions

.github/workflows/codeql.yml

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,49 @@
1-
# SPDX-License-Identifier: PMPL-1.0-or-later
2-
# CodeQL disabled - no scannable source code detected
1+
# SPDX-License-Identifier: PMPL-1.0
32
name: CodeQL Security Analysis
43

54
on:
6-
workflow_dispatch: # Manual trigger only
5+
push:
6+
branches: [main, master]
7+
pull_request:
8+
branches: [main, master]
9+
schedule:
10+
- cron: '0 6 * * 1'
11+
12+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
13+
# updates do not pile up queued runs against the shared account-wide
14+
# Actions concurrency pool. Applied only to read-only check workflows
15+
# (no publish/mutation), so cancelling a superseded run is always safe.
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
719

820
permissions:
921
contents: read
1022

1123
jobs:
12-
placeholder:
24+
analyze:
1325
runs-on: ubuntu-latest
14-
if: false
26+
permissions:
27+
contents: read
28+
security-events: write
29+
strategy:
30+
fail-fast: false
31+
matrix:
32+
include:
33+
- language: javascript-typescript
34+
build-mode: none
35+
1536
steps:
16-
- run: echo "Enable when source code is added"
37+
- name: Checkout
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
39+
40+
- name: Initialize CodeQL
41+
uses: github/codeql-action/init@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
42+
with:
43+
languages: ${{ matrix.language }}
44+
build-mode: ${{ matrix.build-mode }}
45+
46+
- name: Perform CodeQL Analysis
47+
uses: github/codeql-action/analyze@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
48+
with:
49+
category: "/language:${{ matrix.language }}"

.github/workflows/dogfood-gate.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: Validate A2ML manifests
4040
if: steps.detect.outputs.count > 0
41-
uses: hyperpolymath/a2ml-validate-action@b2f28c39491c0d1ff131b8fb9e197bfea79e411e # main
41+
uses: hyperpolymath/a2ml-validate-action@59145c7d1039fa3059b3ecacdb50ee23d7505898 # main
4242
with:
4343
path: '.'
4444
strict: 'false'
@@ -86,7 +86,7 @@ jobs:
8686
8787
- name: Validate K9 contracts
8888
if: steps.detect.outputs.k9_count > 0
89-
uses: hyperpolymath/k9-validate-action@f985acb62d1ed46a4b3434dc6cb148dad95cf62d # main
89+
uses: hyperpolymath/k9-validate-action@2d96f43c538964b097d159ed3a56ba5b5ceca227 # main
9090
with:
9191
path: '.'
9292
strict: 'false'
@@ -306,3 +306,4 @@ jobs:
306306
*Generated by the [Dogfood Gate](https://github.com/hyperpolymath/rsr-template-repo) workflow.*
307307
*Dogfooding is guinea pig fooding — we test our tools on ourselves.*
308308
EOF
309+

.github/workflows/governance.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
# governance.yml — single wrapper calling the shared estate governance bundle
3+
# in hyperpolymath/standards instead of carrying per-repo copies.
4+
#
5+
# Replaces the per-repo governance scaffolding removed in the same commit:
6+
# quality.yml, guix-nix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml,
7+
# security-policy.yml, rsr-antipattern.yml, wellknown-enforcement.yml,
8+
# workflow-linter.yml
9+
#
10+
# Load-bearing build/security workflows stay standalone in the repo
11+
# (rust-ci, codeql, dependabot, release, scan/mirror/pages plumbing).
12+
13+
name: Governance
14+
15+
on:
16+
push:
17+
branches: [main, master]
18+
pull_request:
19+
workflow_dispatch:
20+
21+
# Estate guardrail: cancel superseded runs so re-pushes / rebased PR
22+
# updates do not pile up queued runs against the shared account-wide
23+
# Actions concurrency pool. Applied only to read-only check workflows
24+
# (no publish/mutation), so cancelling a superseded run is always safe.
25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.ref }}
27+
cancel-in-progress: true
28+
29+
permissions:
30+
contents: read
31+
32+
jobs:
33+
governance:
34+
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@main

.github/workflows/guix-nix-policy.yml

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

0 commit comments

Comments
 (0)