Skip to content

Commit

Permalink
build: don't run Actions on non-master pushes
Browse files Browse the repository at this point in the history
PR-URL: #34464
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
  • Loading branch information
codebytere authored and MylesBorins committed Jul 27, 2020
1 parent bd9ab00 commit 3fda3d4
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build from tarball

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
FLAKY_TESTS: dontcare
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build-windows

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
PYTHON_VERSION: 3.8
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: linters

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
PYTHON_VERSION: 3.8
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/misc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: misc

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
NODE_VERSION: 12.x
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test-linux

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
PYTHON_VERSION: 3.8
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test-macOS

on: [push, pull_request]
on:
pull_request:
push:
branches:
- master

env:
PYTHON_VERSION: 3.8
Expand Down

0 comments on commit 3fda3d4

Please sign in to comment.