Skip to content

fix: release automation, security headers, and doc updates#23

Merged
kellenmurphy merged 1 commit into
mainfrom
fix/release-please-automerge
May 16, 2026
Merged

fix: release automation, security headers, and doc updates#23
kellenmurphy merged 1 commit into
mainfrom
fix/release-please-automerge

Conversation

@kellenmurphy

Copy link
Copy Markdown
Owner

Summary

  • Release automation: workflow_dispatch trigger on CI so release-please PRs can be explicitly triggered (GITHUB_TOKEN PRs suppress pull_request events); parse release-please JSON output with jq; use RELEASE_PLEASE_TOKEN to trigger CI, approve, and enable auto-merge on release PRs; Dependabot conventional commit prefixes aligned with release-please config
  • Security headers: _headers at project root deploys X-Content-Type-Options, X-Frame-Options: DENY, Referrer-Policy: no-referrer, and Permissions-Policy via Cloudflare Pages
  • Discovery URL hardening: safeHref() helper validates OIDC discovery endpoint URLs to https: before rendering as links; use issuerUrl.href in the discovery proxy instead of the raw input string
  • Bug fixes: id="input" on textarea resolves Chrome autofill warning; build.cssCodeSplit: false resolves CSS preload timing mismatch in DevTools console

Docs & changelog

  • CHANGELOG.md created with v1.0.0 entry (formatted for release-please to append to)
  • CLAUDE.md: conventional commit reference table, hash.ts docs, stale notes removed, planned features pruned to reflect what's shipped
  • README.md: shareable links, light mode, and OIDC Discovery UI added to Features; project structure updated; shipped items removed from What's planned
  • SECURITY.md: shareable links privacy note; _headers controls documented

Test plan

  • CI passes (build, type check, coverage, audit)
  • _headers present in Cloudflare build output
  • No Chrome DevTools console warning about CSS preload after deploy
  • No Chrome Issues panel warning about form field after deploy

Release automation:
- Add workflow_dispatch to ci.yml so CI can be triggered on release-please
  branches (GITHUB_TOKEN PRs suppress pull_request events; workflow_dispatch
  is exempt from that suppression)
- Parse release-please PR JSON output with jq; use RELEASE_PLEASE_TOKEN to
  trigger CI, approve PR, and enable auto-merge
- Configure Dependabot commit-message prefixes: fix(deps) for npm,
  chore(ci) for Actions — aligns with release-please changelog config
- Update release-please-config: remove unused deps type, rename fix section
  to 'Bug Fixes & Dependencies'

Security:
- Add _headers at project root with X-Content-Type-Options, X-Frame-Options,
  Referrer-Policy, and Permissions-Policy for all Cloudflare Pages responses
- Validate OIDC discovery URLs to https: before rendering as links (safeHref)
- Use issuerUrl.href instead of raw issuer string in discovery proxy

Fixes:
- Add id="input" to textarea (resolves Chrome autofill/form field warning)
- Set build.cssCodeSplit: false to resolve CSS preload timing mismatch warning

Docs:
- Add CHANGELOG.md with v1.0.0 entry
- Add conventional commit reference table to CLAUDE.md
- Update CLAUDE.md: remove stale @peculiar/x509 note, add hash.ts docs,
  update OIDC discovery description, prune shipped planned features
- Update README.md: add shareable links, light mode, and OIDC Discovery UI
  feature sections; add hash.ts to project structure; remove shipped items
  from What's planned
- Update SECURITY.md: add shareable links privacy note, document _headers
  controls
@kellenmurphy
kellenmurphy merged commit 3d2c15e into main May 16, 2026
5 checks passed
@codecov

codecov Bot commented May 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant