From 920b6d1a56d1dedee0ba5ce7db587a5f2a2cb4dd Mon Sep 17 00:00:00 2001 From: scrungus Date: Fri, 3 Feb 2023 17:15:01 +0000 Subject: [PATCH] run when ready for review, cancel old workflow --- .github/workflows/pr.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 6f21763..228dd91 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -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: