Skip to content

Commit 0c8307d

Browse files
authored
ci: run cancel workflow on pull requests (#1347)
1 parent 45016e5 commit 0c8307d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cancel.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
name: Cancel
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- next
7+
pull_request:
8+
branches:
9+
- master
10+
- next
311
jobs:
412
cancel:
513
name: Cancel Previous Runs

0 commit comments

Comments
 (0)