From 0f4a0537599a39b116d3f011e3242ddb10c6c524 Mon Sep 17 00:00:00 2001 From: Lipis Date: Thu, 4 Feb 2021 14:01:20 +0200 Subject: [PATCH] chore: Run actions on pull requests as well (#2917) * chore: Run actions on pull requests as well * Update cancel.yml * Update lint.yml * Update test.yml * Update cancel.yml --- .github/workflows/cancel.yml | 6 +++++- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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: