Skip to content

Commit 60f5a75

Browse files
committed
chore: run cancel workflow on pull request
1 parent 687db56 commit 60f5a75

File tree

3 files changed

+758
-723
lines changed

3 files changed

+758
-723
lines changed

.github/workflows/cancel.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
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
11+
permissions: {} # none
312
jobs:
413
cancel:
14+
permissions:
15+
actions: write
516
name: Cancel Previous Runs
617
runs-on: ubuntu-latest
718
timeout-minutes: 3

0 commit comments

Comments
 (0)