Skip to content

fix: run CodSpeed on pushes to performance-labeled PRs - #146

Open
cowboyd wants to merge 1 commit into
mainfrom
fix/codspeed-labeled-pr-pushes
Open

cowboyd wants to merge 1 commit into
mainfrom
fix/codspeed-labeled-pr-pushes

Conversation

@cowboyd

@cowboyd cowboyd commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Run CodSpeed whenever a pull request carries the performance label, including subsequent pushes and reopen events. Previously, CodSpeed ran only when that label was being added, so updating the code only ran the benchmarks in Vitest, not CodSpeed despite the label still being present.

Replace the label-addition event check with contains(github.event.pull_request.labels.*.name, 'performance'). The repository enable flag and main-branch behavior stay the same.

Type of change

  • Bug fix
  • Feature
  • Refactor (no behavior change)
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • All tests pass (pnpm test)
  • Files are formatted (pnpm format)
  • I have added/updated tests for my changes (if applicable)
  • I have added a changeset

Tests and a changeset are not applicable to this workflow-only change. Formatting was checked directly with oxfmt using the repository configuration.

AI-generated code disclosure

  • This PR includes AI-generated code

@pkg-pr-new

pkg-pr-new Bot commented Dec 1, 2026

Copy link
Copy Markdown

commit: cb8ddbf

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