From bb7a5471c5e61353e37251de0dd12a7039a0ddae Mon Sep 17 00:00:00 2001 From: Sachin Kumar Date: Mon, 19 Sep 2022 21:14:17 +0530 Subject: [PATCH] chore: run cancel workflow on pull request --- .github/workflows/cancel.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index 23703ea..1913e49 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -1,5 +1,13 @@ name: Cancel -on: [push] +on: + push: + branches: + - master + - next + pull_request: + branches: + - master + - next permissions: {} # none jobs: cancel: