Skip to content

Commit 553befa

Browse files
authored
Disable Github CI in feature branches (simdjson#1298)
Forks that would like to contribute via PRs from feature branches needlessly run CI on those branches on top of the PRs. This is a waste of resources. Co-authored-by: friendlyanon <friendlyanon@users.noreply.github.com>
1 parent def624a commit 553befa

13 files changed

+85
-14
lines changed

.github/workflows/alpine.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
name: Alpine Linux
2-
'on':
3-
- push
4-
- pull_request
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
511
jobs:
612
ubuntu-build:
713
runs-on: ubuntu-latest

.github/workflows/fix-trailing-whitespace.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Detect trailing whitespace
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
branches:
6+
- master
47

58
jobs:
69
whitespace:

.github/workflows/fuzzers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- master
77
pull_request:
8+
branches:
9+
- master
810
schedule:
911
- cron: 23 */8 * * *
1012

.github/workflows/mingw-ci.yml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
# Important: scoop will either install 32-bit GCC or 64-bit GCC, not both.
612

.github/workflows/mingw64-ci.yml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
# Important: scoop will either install 32-bit GCC or 64-bit GCC, not both.
612

.github/workflows/msys2.yml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
windows-mingw:

.github/workflows/ubuntu18-checkperf.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Performance check on Ubuntu 18.04 CI (GCC 7)
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ubuntu-build:

.github/workflows/ubuntu18.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Ubuntu 18.04 CI (GCC 7)
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ubuntu-build:

.github/workflows/ubuntu20-checkperf.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Performance check on Ubuntu 20.04 CI (GCC 9)
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ubuntu-build:

.github/workflows/ubuntu20.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Ubuntu 20.04 CI (GCC 9)
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ubuntu-build:

.github/workflows/vs16-ci.yml

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

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ci:

.github/workflows/vs16-clang-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: VS16-CLANG-CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ci:

.github/workflows/vs16-ninja-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: VS16-Ninja-CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
ci:

0 commit comments

Comments
 (0)