-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.86 KB
/
Copy pathsecurity-scan.yml
File metadata and controls
43 lines (38 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SPDX-License-Identifier: MPL-2.0
name: Security Scan
on:
push:
branches: [main]
# No `pull_request:` trigger by design -- this scan pushes a report to
# verisimdb-data, which should happen for main, not for every PR. That does
# mean a change to THIS file cannot be verified pre-merge; a temporary
# `pull_request:` trigger was added on this branch to prove the fix below,
# then removed. Verifying run: 29831433656 (commit 4cd3f20) -- the workflow
# loaded, the scan executed, and only the dispatch step failed (HTTP 401,
# expired VERISIMDB_PAT). Re-add the trigger the same way if you touch this.
schedule:
- cron: '0 0 * * 0' # Weekly on Sunday at midnight
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
scan:
# `hyperpolymath/panic-attacker` NO LONGER EXISTS: the repo was renamed to
# `hyperpolymath/panic-attack`. The REST API transparently follows repo
# renames, so every API probe of the old name appears to succeed — but
# GitHub Actions does NOT follow renames when resolving a reusable
# workflow's `uses:`. The call therefore failed at workflow-LOAD time,
# which is why every run since at least 2026-07-14 reported
# `conclusion: failure` with zero jobs, no retrievable log, and this
# workflow's registry entry stuck showing the file path instead of
# "Security Scan" (GitHub never parsed the file).
#
# Pin refreshed at the same time: the previous pin (2dc1393c, 2026-05-20)
# predates the upstream fix that skips the cross-repo dispatch when
# VERISIMDB_PAT is absent and that chunks oversized payloads.
uses: hyperpolymath/panic-attack/.github/workflows/scan-and-report.yml@e25cf0e7560e453c099bbe924c5e3701eb1822bd # main 2026-07-19
secrets:
VERISIMDB_PAT: ${{ secrets.VERISIMDB_PAT }}