Skip to content

Commit 3c8c9d6

Browse files
authored
feat: fix duplicate CI workflow runs on pull requests (#260)
1 parent 680401e commit 3c8c9d6

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
name: Benchmark
1616

17-
on: [push, pull_request]
17+
on:
18+
push:
19+
branches:
20+
- master
21+
pull_request:
1822

1923
jobs:
2024
benchmark:

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
name: CI
1616

17-
on: [push, pull_request]
17+
on:
18+
push:
19+
branches:
20+
- master
21+
pull_request:
1822

1923
jobs:
2024
linux:

.github/workflows/memcheck.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
name: Memcheck
1616

17-
on: [push, pull_request]
17+
on:
18+
push:
19+
branches:
20+
- master
21+
pull_request:
1822

1923
jobs:
2024
linux:

.github/workflows/python_binding.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
name: Python Bindings Test
1616

17-
on: [push, pull_request]
17+
on:
18+
push:
19+
branches:
20+
- master
21+
pull_request:
1822

1923
jobs:
2024
build:

0 commit comments

Comments
 (0)