Commit Graph

20 Commits

Author SHA1 Message Date
Matt Kane
885df3b3a8 test(smoke): add astro build verification for all demos and templates (#361)
Smoke tests only ran astro dev, which uses Vite's on-demand compilation
and never invokes the adapter build pipeline. Build failures in
cloudflare/playground demos (or any adapter-dependent site) passed CI
undetected. Add a build verification suite that runs astro build for
every site in the matrix before the existing runtime tests.

Bumps smoke test CI timeout from 15 to 30 minutes to accommodate.
2026-04-07 19:07:07 +00:00
Bryan Robinson
660eed2b76 Adds emdashbot to allowlist for CLA (#311) 2026-04-06 18:16:38 +01:00
Matt Kane
f5d0e8dd17 fix(ci): query check runs instead of commit statuses for CLA labels (#289)
* fix(ci): query check runs instead of commit statuses for CLA labels

The CLA Assistant action (contributor-assistant/github-action) reports
results as check runs, not commit statuses. The labeling step was
querying listCommitStatusesForRef which always returned an empty array,
so CLA labels were never applied to PRs.

Switch to checks.listForRef and match on the CLAssistant check run name
and conclusion. Add checks: read permission.

* fix(ci): split CLA labeling into separate job to avoid race condition

The label step was in the same job as the CLA check, so the CLAssistant
check run was still in_progress when queried — labels were never applied.
Move labeling to a separate job with needs: CLAssistant so the check run
is completed before we read its conclusion.

Also add issues: write permission for creating repo-level labels.
2026-04-06 07:29:55 +01:00
Matt Kane
5beb0ddc33 refactor: split smoke and integration test configs into separate CI jobs (#264)
* refactor: split smoke and integration test configs into separate CI jobs

* fix: move CLA labeling from triage to CLA workflow

* fix: install formatters in temp dir to avoid catalog: protocol error

* fix: handle 404 when removing labels that don't exist on the PR
2026-04-05 08:22:17 +01:00
Matt Kane
c4977e1fd1 chore: add PR automation workflows for triage, formatting, staleness, and overlap detection (#263) 2026-04-05 07:03:06 +00:00
Erez Rokah
85b3d1aacd chore: Tighten /format command trigger conditions (#201)
Use exact match and add author_association check for the /format
comment command workflow.
2026-04-03 22:02:11 +00:00
Matt Kane
0aae9d806b docs: add changeset guidelines for contributors and agents (#198)
* docs: add changeset guidelines to contributing docs

Contributors and agents need to know when and how to add changesets.
Without one, changes to published packages won't trigger a release.

- CONTRIBUTING.md: full Changesets section with when/when-not, how to
  add, writing descriptions, examples for patch/minor/major
- AGENTS.md: concise changeset subsection using --empty for
  non-interactive use, added as step in PR flow
- PR template: changeset checkbox in checklist

* docs: note that multiple changes need separate changesets
2026-04-03 22:36:37 +01:00
Matt Kane
d3cf93f171 ci: add /format comment command for PRs (#195) 2026-04-03 19:45:21 +01:00
Matt Kane
73b5a787b8 fix: use Node 24 for release workflow to get npm OIDC support (#165)
Node 22 ships npm 10.x which doesn't support trusted publishing via
OIDC (requires npm 11.5.1+). Node 24 bundles it natively, removing the
need for the `npm install -g npm@latest` step which was failing with a
`Cannot find module 'promise-retry'` error due to npm corrupting itself
during self-upgrade.
2026-04-03 09:14:45 +01:00
Matt Kane
fd8f44cd24 chore: add E2E rollup job and exempt emdashbot from PR compliance (#132)
Add a rollup job that gates on all 8 E2E shards so it can be a single
required check. Exempt emdashbot from PR template validation alongside
dependabot and renovate.
2026-04-02 20:23:10 +00:00
Matt Kane
b82a5fe7d6 fix: use GitHub App token for release workflow (#130)
GITHUB_TOKEN can't trigger CI on PRs it creates, so the changesets
release PR could never pass required checks. Use a GitHub App token
instead, which triggers workflows normally.

Also pins all actions to commit SHAs and uses frozen lockfile.
2026-04-02 21:10:51 +01:00
Matt Kane
ed5df8e453 Add PR template, issue templates, and contribution policy (#126)
* chore: add PR template, issue templates, and contribution policy

Drive-by feature PRs are becoming a problem. This adds guardrails:

- PR template with type selection, checklist, and AI disclosure
- Bug report issue template (structured YAML form)
- Issue config that redirects features to Discussions and disables blank issues
- PR compliance workflow that enforces template completion and requires
  a Discussion link for feature PRs
- Contribution policy in CONTRIBUTING.md (acceptance tiers, AI PR rules)
- Agent-facing rules in AGENTS.md (follow the template, no bulk changes)

* fornat
2026-04-02 21:02:10 +01:00
Matt Kane
61b73aeb01 fix: add explicit permissions to CLA workflow, drop PAT (#121) 2026-04-02 18:07:59 +01:00
Matt Kane
f2c10fc029 chore: add CLA Assistant workflow (#114) 2026-04-02 17:55:11 +01:00
Matt Kane
478570ff34 Fix ci 2026-04-01 12:39:06 +01:00
Matt Kane
7a545979ee Preview release support 2026-04-01 12:24:44 +01:00
Matt Kane
4bafdb9781 Add publish CI with OIDC trusted publishing and changesets 2026-04-01 12:01:32 +01:00
Matt Kane
c8e318da5c Package names 2026-04-01 11:45:50 +01:00
Matt Kane
2e863566b3 Fix scope 2026-04-01 10:58:32 +01:00
Matt Kane
43fcb9a131 first commit 2026-04-01 10:44:22 +01:00