Skip to content

Commit ea7b47b

Browse files
Merge pull request #247 from bjornharrtell/patch-1
Run CI on PRs
2 parents 50198b5 + e7e951b commit ea7b47b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Node.js CI
22

33
on:
4-
[ push ]
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
58

69
jobs:
710
ci:
@@ -25,4 +28,4 @@ jobs:
2528
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
2629
env:
2730
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
28-
if: always()
31+
if: ${{ github.event_name != 'pull_request'}}

0 commit comments

Comments
 (0)