From f619face812b8e6d2964539f523905b1ffe16c87 Mon Sep 17 00:00:00 2001 From: Christopher Willis-Ford <7019101+cwillisf@users.noreply.github.com> Date: Tue, 28 Apr 2026 12:26:26 -0700 Subject: [PATCH] ci: run build and test on pull requests 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. --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 314cd14729..19310b8e92 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,7 +1,13 @@ name: build-scratch-blocks on: push: # Runs whenever a commit is pushed to the repository + pull_request: # Runs on pull requests (including from forks) workflow_dispatch: # Allows you to run this workflow manually from the Actions tab + +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: lint: runs-on: ubuntu-latest