Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,18 @@ jobs:
# in NOTICE.
- run: npm ci --omit=dev --omit=optional
working-directory: web
- name: Generate third-party notices
run: python3 scripts/generate-notices.py --output NOTICE
# Overwriting NOTICE here would hide the drift this job exists to catch:
# the release workflows refuse to publish a stale file, so a pull request
# that moves a dependency must fail here rather than at release time.
- name: Verify the committed third-party notices
run: |
set -euo pipefail
python3 scripts/generate-notices.py --output /tmp/metrune-NOTICE
cmp -s NOTICE /tmp/metrune-NOTICE || {
echo "::error::NOTICE is stale; run make notices and commit the generated file"
diff -u NOTICE /tmp/metrune-NOTICE || true
exit 1
}
- name: Report licenses that still need their text
run: |
if grep -q "^## Action required before release" NOTICE; then
Expand Down
4 changes: 2 additions & 2 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -470,10 +470,10 @@ Read from `web/node_modules`. Run `npm ci` in `web/` before generating, or this
| baseline-browser-mapping | 2.11.1 | Apache-2.0 |
| caniuse-lite | 1.0.30001806 | CC-BY-4.0 |
| client-only | 0.0.1 | MIT |
| nanoid | 3.3.16 | MIT |
| nanoid | 3.3.18 | MIT |
| next | 16.2.11 | MIT |
| picocolors | 1.1.1 | ISC |
| postcss | 8.5.22 | MIT |
| postcss | 8.5.23 | MIT |
| react | 19.2.8 | MIT |
| react-dom | 19.2.8 | MIT |
| react-is | 19.3.0-canary-3f0b9e61-20260317 | MIT |
Expand Down
Loading