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
2 changes: 1 addition & 1 deletion .github/metrics/frontmatter-metrics.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
/* eslint-disable no-console */

import fs from "node:fs/promises";
import path from "node:path";
import { fileURLToPath } from "node:url";
Expand All @@ -11,7 +11,7 @@
import addFormats from "ajv-formats";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

Check warning on line 14 in .github/metrics/frontmatter-metrics.js

View workflow job for this annotation

GitHub Actions / lint

'__dirname' is assigned a value but never used

Check warning on line 14 in .github/metrics/frontmatter-metrics.js

View workflow job for this annotation

GitHub Actions / Linting

'__dirname' is assigned a value but never used

Check warning on line 14 in .github/metrics/frontmatter-metrics.js

View workflow job for this annotation

GitHub Actions / check

'__dirname' is assigned a value but never used

async function readJSON(p) {
return JSON.parse(await fs.readFile(p, "utf8"));
Expand Down
7 changes: 1 addition & 6 deletions .github/website/src/lib/phosphor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ import { createRequire } from "node:module";
const require = createRequire(import.meta.url);

export type PhosphorWeight =
| "regular"
| "bold"
| "fill"
| "light"
| "duotone"
| "thin";
"regular" | "bold" | "fill" | "light" | "duotone" | "thin";

const cache = new Map<string, string>();

Expand Down
18 changes: 3 additions & 15 deletions .github/workflows/changelog-safety-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
node-version: "24"
cache: npm

- name: Install dependencies
Expand All @@ -54,7 +54,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
node-version: "24"
cache: npm

- name: Install dependencies
Expand Down Expand Up @@ -153,17 +153,5 @@ jobs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `❌ **Changelog Safety Audit Failed**

The changelog safety audit detected issues that must be fixed before merging:

1. **CHANGELOG.md issues** — Review the audit output above
2. **Format compliance** — Ensure entries follow Keep a Changelog 1.1.0 format
3. **Cross-references** — Verify all related files are properly linked

Please fix the issues and push another commit. For help, see:
- [Changelog Automation Guide](docs/CHANGELOG_AUTOMATION.md)
- [Changelog Contributor Checklist](docs/CHANGELOG_CONTRIBUTOR_CHECKLIST.md)

**Issue #2354** — Changelog Safety Audit (prevent future incidents)`
body: \`❌ **Changelog Safety Audit Failed**\n\nThe changelog safety audit detected issues that must be fixed before merging:\n\n1. **CHANGELOG.md issues** — Review the audit output above\n2. **Format compliance** — Ensure entries follow Keep a Changelog 1.1.0 format\n3. **Cross-references** — Verify all related files are properly linked\n\nPlease fix the issues and push another commit. For help, see:\n- [Changelog Automation Guide](docs/CHANGELOG_AUTOMATION.md)\n- [Changelog Contributor Checklist](docs/CHANGELOG_CONTRIBUTOR_CHECKLIST.md)\n\n**Issue #2354** — Changelog Safety Audit (prevent future incidents)\`
})
Loading
Loading