Skip to content

Commit e9b080e

Browse files
authored
feat: fix duplicate CI workflow runs on pull requests (#394)
1 parent 7f7bffc commit e9b080e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 1.x
8+
pull_request:
49

510
env:
611
SHA: ${{ GITHUB.SHA }}

.github/workflows/infersharp.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: InferSharp
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 1.x
8+
pull_request:
49

510
jobs:
611
InferSharp:

0 commit comments

Comments
 (0)