Skip to content

Commit 945fdf9

Browse files
authored
Merge pull request #3574 from scratchfoundation/ci/add-pr-trigger
ci: run build and test on pull requests
2 parents 22899cb + f619fac commit 945fdf9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
name: build-scratch-blocks
22
on:
33
push: # Runs whenever a commit is pushed to the repository
4+
pull_request: # Runs on pull requests (including from forks)
45
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
6+
7+
concurrency:
8+
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
9+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
10+
511
jobs:
612
lint:
713
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)