Skip to content

Update GitHub Actions, dev dependencies and Dependabot schedule - #1970

Merged
coliff merged 1 commit into
mainfrom
update-actions-deps-dependabot
Nov 18, 2026
Merged

coliff merged 1 commit into
mainfrom
update-actions-deps-dependabot

Conversation

@coliff

@coliff coliff commented Nov 18, 2026

Copy link
Copy Markdown
Member

Requested by Christian · project thread

Short description of what this resolves

Routine refresh of GitHub Actions and dev dependencies, plus a supply-chain cooldown for npm installs and a quieter Dependabot schedule.

Proposed changes

  • Bump github/codeql-action to v4.39.3 (SHA-pinned). All other Actions were already on their latest release.
  • Update dev dependencies: @typescript-eslint/* 8.73.0, eslint 10.15.0, eslint-plugin-prettier 5.5.7, rimraf 6.1.4, rollup 4.68.5 (4.68.6 was published today, so it is inside the new 1-day window).
  • Bump Prettier 3.8.3 → 3.9.8, which is the exact version Super-Linter v9.0.0 ships, so local and CI formatting agree. src/core/types.ts is reformatted for Prettier 3.9's union-type style.
  • Update website stylelint-config-recommended to 19.0.0 (stylelint 18).
  • Add min-release-age = 1 (days, per npm's config docs) to the root and website .npmrc. It is honored by npm 11.10+; older npm ignores it.
  • Change the root npm Dependabot interval from weekly to monthly (website and Actions were already monthly).

Not updated: TypeScript stays on 6.0.3 because @typescript-eslint 8.73.0 has a peer range of <6.1.0, so TypeScript 7 can't install yet. @types/node stays on 22.x to match the Node 22 target.

npm run build, npm test (381 tests) and npm run lint pass locally; website stylelint passes from a clean npm ci.


Generated by Claude Code

- Bump github/codeql-action to v4.39.3 (all other Actions already latest)
- Update dev dependencies: @typescript-eslint/* 8.73.0, eslint 10.15.0,
  eslint-plugin-prettier 5.5.7, rimraf 6.1.4, rollup 4.68.5
- Bump Prettier to 3.9.8 to match Super-Linter v9.0.0, and reformat
  src/core/types.ts for the new union-type style
- Update website stylelint-config-recommended to 19.0.0
- Add min-release-age = 1 (days) to root and website .npmrc
- Change root npm Dependabot interval from weekly to monthly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B4uAX8JYLuZpzfdut5k4se
@coliff coliff self-assigned this Nov 18, 2026
Copilot AI balanced review requested due to automatic review settings November 18, 2026 09:34
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying htmlhint with  Cloudflare Pages  Cloudflare Pages

Latest commit: 112eed6
Status: ✅  Deploy successful!
Preview URL: https://6cd7ea9a.htmlhint.pages.dev
Branch Preview URL: https://update-actions-deps-dependab.htmlhint.pages.dev

View logs

@coliff
coliff merged commit 571ec51 into main Nov 18, 2026
27 checks passed
@coliff
coliff deleted the update-actions-deps-dependabot branch November 18, 2026 09:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The default npm toolchains ignore the new dependency cooldown, and the website’s declared Node range includes versions unsupported by its updated Stylelint dependencies.

2 open issues
1 file not reviewed
  • website/package-lock.json: Generated file
What changed in this PR

Refreshes HTMLHint’s development tooling and security workflows, adds npm release-age configuration, and reduces Dependabot update frequency.

Changes:

  • Updates SHA-pinned CodeQL Actions, root development dependencies, and website Stylelint tooling.
  • Aligns Prettier with CI and reformats a TypeScript union without changing behavior.
  • Adds a one-day npm release-age setting and changes root npm Dependabot checks to monthly.
File Description
website/​package.json Upgrades the recommended Stylelint configuration.
website/​package-lock.json Records updated website linting dependencies and regenerated metadata.
website/​.npmrc Adds the one-day release-age setting.
src/​core/​types.ts Applies Prettier’s updated union-type formatting.
package.json Updates linting, formatting, cleanup, and build tools.
package-lock.json Locks updated root development dependencies.
.npmrc Adds the one-day release-age setting.
.github/​workflows/​website.yml Updates the pinned CodeQL SARIF upload Action.
.github/​workflows/​ossf-scorecard.yml Updates the pinned CodeQL SARIF upload Action.
.github/​workflows/​codeql-analysis.yml Updates pinned CodeQL initialization and analysis Actions.
.github/​dependabot.yml Changes root npm update checks to monthly.

Review effort: Balanced

Comment thread .npmrc
@@ -1,2 +1,3 @@
lockfile-version = 3
registry = 'https://registry.npmjs.org/'
min-release-age = 1
Comment thread website/package.json
},
"devDependencies": {
"stylelint-config-recommended": "^18.0.0"
"stylelint-config-recommended": "^19.0.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants