Skip to content

ci: run build and test on pull requests#3574

Merged
cwillisf merged 1 commit intodevelopfrom
ci/add-pr-trigger
Apr 28, 2026
Merged

ci: run build and test on pull requests#3574
cwillisf merged 1 commit intodevelopfrom
ci/add-pr-trigger

Conversation

@cwillisf
Copy link
Copy Markdown
Contributor

Resolves

External PRs (e.g. #3571) only ran commitlint and the CLA assistant but never built or tested the code, even after a maintainer approved workflows to run.

Proposed Changes

  • Add pull_request trigger to the deploy.yml workflow so lint, build, and test run on PRs (including from forks)
  • Add a concurrency group with cancel-in-progress: true so re-pushes to a PR branch cancel stale runs

Reason for Changes

The deploy.yml workflow only triggered on push and workflow_dispatch. Since fork pushes don't fire push events on the base repo, external contributors got no build or test feedback on their PRs.

Test Coverage

This PR itself serves as the test: the build-scratch-blocks workflow should now appear in the checks for this PR with lint and build-and-test jobs. semantic-release will dry-run safely on this non-release branch.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the CI workflow to run the existing lint/build/test pipeline for pull requests (including forks) and adds concurrency cancellation to reduce redundant runs.

Changes:

  • Add a pull_request trigger to .github/workflows/deploy.yml.
  • Add a workflow-level concurrency group with cancel-in-progress: true.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/deploy.yml Outdated
Comment thread .github/workflows/deploy.yml
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/deploy.yml Outdated
The deploy workflow only triggered on push and workflow_dispatch, so
PRs (especially from forks) never got build or test feedback. Add a
pull_request trigger and a concurrency group to cancel stale runs.

Only cancel in-progress runs for pull_request events so that push-
triggered release runs on develop are never interrupted.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cwillisf cwillisf merged commit 945fdf9 into develop Apr 28, 2026
10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 2026
@cwillisf cwillisf deleted the ci/add-pr-trigger branch April 28, 2026 21:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants