Skip to content

Commit 203dcc7

Browse files
authored
Run CI on main & develop branches also (#261)
Run CI on main & develop branches
1 parent ce7ceae commit 203dcc7

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: build-and-test
22

3-
run-name: Build & test for PR '${{ github.event.pull_request.title }}'
4-
5-
on: [pull_request]
3+
run-name: Build & test for ${{ github.ref_name }} on ${{ github.sha }}
4+
5+
on:
6+
push:
7+
branches:
8+
- 'main'
9+
- 'develop'
10+
pull_request:
11+
types: [opened, synchronize, reopened]
612

713
# Cancel previous runs if new changes on PR/branch
814
concurrency:

0 commit comments

Comments
 (0)