run when ready for review, cancel old workflow
This commit is contained in:
parent
22432b01dd
commit
920b6d1a56
5
.github/workflows/pr.yaml
vendored
5
.github/workflows/pr.yaml
vendored
@ -1,9 +1,14 @@
|
||||
name: test pr
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened,synchronize,ready_for_review,edited,reopened]
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
# Run the lint on every PR, even from external repos
|
||||
lint:
|
||||
|
Loading…
Reference in New Issue
Block a user