ci: enforce PR-title lint, drop Lighthouse no-op, add npm Dependabot (#234)#249
Merged
Conversation
…234) The repo squash-merges, so the PR title is the commit subject release-please parses — lint that title and fail CI on a malformed one, instead of the old per-commit advisory check that only warned. Untrusted title passed via env. Drop the empty `budgetPath` no-op and the placeholder "Report scores" step from the Lighthouse job; the audit stays informational (temporary public storage link in the logs). Add an npm Dependabot ecosystem (weekly, grouped minor/patch, capped at 5 open PRs) so workspace deps get update PRs, not just GitHub Actions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #234.
Tightens three advisory/no-op CI gates flagged in #234.
Changes
ci.yml— replace the per-commitValidate commit messagesstep (which rancontinue-on-errorand only warned) with an enforcedValidate PR titlestep. The repo squash-merges, so the PR title is the commit subject that release-please parses; that's the string worth linting. The untrusted title is passed viaenv:and piped tonpx commitlint(never interpolated into the shell — same hardening class as security(ci): sync-law.yml inlines scraped OLRC strings into run: shells (script-injection vector) #229).deploy-site.yml— drop the emptybudgetPath: ''no-op and the placeholder "Report scores" step from the Lighthouse job. The audit stays informational (report uploaded to temporary public storage; link in the action logs).dependabot.yml— add annpmecosystem (weekly, grouped minor/patch,open-pull-requests-limit: 5) so workspace deps get update PRs, not just GitHub Actions. Dependabot readspnpm-lock.yamland honourspnpm.overrides.Verification
yaml.safe_load).${{ github.event.* }}interpolated into arun:body.🤖 Generated with Claude Code