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 cjihrig committed Jul 22, 2020
1 parent e342c7a commit 009972c
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 009972c

Please sign in to comment.