diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index 1e2ed41b..be1db9ca 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -1,6 +1,10 @@ name: Cancel previous runs -on: push +on: + push: + branches: + - master + pull_request: jobs: cancel: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a11350a4..ac455b68 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,6 @@ name: Lint -on: push +on: pull_request jobs: lint: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57434cee..2140bbf6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Tests -on: push +on: pull_request jobs: test: