Skip to content

Commit 3fda3d4

Browse files
codebytereMylesBorins
authored andcommitted
build: don't run Actions on non-master pushes
PR-URL: #34464 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Myles Borins <[email protected]>
1 parent bd9ab00 commit 3fda3d4

File tree

6 files changed

+30
-6
lines changed

6 files changed

+30
-6
lines changed

.github/workflows/build-tarball.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build from tarball
22

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

59
env:
610
FLAKY_TESTS: dontcare

.github/workflows/build-windows.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: build-windows
22

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

59
env:
610
PYTHON_VERSION: 3.8

.github/workflows/linters.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: linters
22

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

59
env:
610
PYTHON_VERSION: 3.8

.github/workflows/misc.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: misc
22

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

59
env:
610
NODE_VERSION: 12.x

.github/workflows/test-linux.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: test-linux
22

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

59
env:
610
PYTHON_VERSION: 3.8

.github/workflows/test-macos.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: test-macOS
22

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

59
env:
610
PYTHON_VERSION: 3.8

0 commit comments

Comments
 (0)