Skip to content

Commit 2f3f18c

Browse files
fix(ci): repoint codeql-action at a SHA that exists (#16)
`github/codeql-action@29b1f65c1f735799893313399435a59f54045865` is pinned here but **exists in no repository** — the GitHub API returns 422 for it. CodeQL therefore could not start: the run graph fails to build and the job reports `startup_failure`, so this repository has had **no CodeQL scanning at all**. Repointed at `4187e74d05793876e9989daffde9c3e66b4acd07`, which is what the `v3` tag currently resolves to (v3.37.3), verified against the API. Found while auditing the estate: the same non-existent SHA was pinned in **104 repositories**, so CodeQL was dead across nearly all of them. --------- Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 384ccd0 commit 2f3f18c

11 files changed

Lines changed: 435 additions & 168 deletions

.github/dependabot.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# Dependabot configuration for RSR-compliant repositories
3+
# Covers common ecosystems - remove unused ones for your project
4+
5+
version: 2
6+
updates:
7+
# GitHub Actions - always include
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
groups:
13+
actions:
14+
patterns:
15+
- "*"
16+
17+
# Rust/Cargo
18+
- package-ecosystem: "cargo"
19+
directory: "/"
20+
schedule:
21+
interval: "weekly"
22+
# `open-pull-requests-limit: 0` suppresses routine version-update PRs
23+
# while leaving Dependabot SECURITY PRs flowing. The previous
24+
# `ignore: "*" patch` rule also silenced security PRs under GitHub\'s
25+
# current Dependabot behaviour. See rsr-template-repo commit 78b050e
26+
# and 007-lang/audits/audit-dependabot-automation-gap-2026-04-17.md.
27+
open-pull-requests-limit: 0
28+
29+
# Elixir/Mix
30+
- package-ecosystem: "mix"
31+
directory: "/"
32+
schedule:
33+
interval: "weekly"
34+
35+
# Node.js/npm
36+
- package-ecosystem: "npm"
37+
directory: "/"
38+
schedule:
39+
interval: "weekly"
40+
41+
# Python/pip
42+
- package-ecosystem: "pip"
43+
directory: "/"
44+
schedule:
45+
interval: "weekly"
46+
47+
# Nix flakes
48+
- package-ecosystem: "nix"
49+
directory: "/"
50+
schedule:
51+
interval: "weekly"

.github/workflows/casket-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main, master]
66
workflow_dispatch:
77
permissions:
8+
actions: read
89
contents: read
910
pages: write
1011
id-token: write

.github/workflows/codeql.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
name: CodeQL
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
9+
schedule:
10+
- cron: '0 0 * * 0'
11+
12+
permissions:
13+
actions: read
14+
contents: read
15+
security-events: write
16+
17+
jobs:
18+
analyze:
19+
name: CodeQL Analysis
20+
runs-on: ubuntu-latest
21+
permissions:
22+
actions: read
23+
contents: read
24+
security-events: write
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
include:
29+
- language: actions
30+
build-mode: none
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
34+
35+
- name: Initialize CodeQL
36+
uses: github/codeql-action/init@4187e74d05793876e9989daffde9c3e66b4acd07 # v3
37+
with:
38+
languages: ${{ matrix.language }}
39+
build-mode: ${{ matrix.build-mode }}
40+
41+
- name: Autobuild
42+
uses: github/codeql-action/autobuild@4187e74d05793876e9989daffde9c3e66b4acd07 # v3
43+
44+
- name: Perform CodeQL Analysis
45+
uses: github/codeql-action/analyze@4187e74d05793876e9989daffde9c3e66b4acd07 # v3

.github/workflows/governance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12+
actions: read
1213
contents: read
1314

1415
jobs:

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14+
actions: read
1415
contents: read
1516
security-events: write
1617

.github/workflows/push-email-notify.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name: Push email notification
77
on:
88
push: {}
99
permissions:
10+
actions: read
1011
contents: read
1112
jobs:
1213
notify:

.github/workflows/secret-scanner.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
permissions:
14+
actions: read
1415
contents: read
1516

1617
jobs:

.github/workflows/workflow-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- '.github/workflows/**'
1212

1313
permissions: read-all
14+
actions: read
1415

1516
jobs:
1617
lint-workflows:

0 commit comments

Comments
 (0)