diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2204da3e..d3240c20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,9 @@ name: build -on: [push, pull_request] +on: + pull_request: + branches: [master] + push: + branches: [master] jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/lint-python.yml b/.github/workflows/lint-python.yml index 432377c6..afbb69ab 100644 --- a/.github/workflows/lint-python.yml +++ b/.github/workflows/lint-python.yml @@ -1,5 +1,9 @@ name: lint_python -on: [pull_request, push] +on: + pull_request: + branches: [master] + push: + branches: [master] jobs: lint_python: runs-on: ubuntu-latest diff --git a/.github/workflows/precommit.yml b/.github/workflows/precommit.yml index 73f7f7da..6cb979ac 100644 --- a/.github/workflows/precommit.yml +++ b/.github/workflows/precommit.yml @@ -6,7 +6,7 @@ on: pull_request: branches: [master] push: - workflow_dispatch: + branches: [master] jobs: pre-commit: runs-on: ubuntu-latest diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 9e91f161..fa939797 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -1,5 +1,9 @@ name: tox -on: [push, pull_request] +on: + pull_request: + branches: [master] + push: + branches: [master] jobs: tox: strategy: