From c2e40661259640ec4d9887c8beb1d6ca10a63381 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Mon, 8 Apr 2024 22:40:38 +0200 Subject: [PATCH] chore: cancel previous clippy runs if need be --- .forgejo/workflows/clippy-check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/clippy-check.yml b/.forgejo/workflows/clippy-check.yml index 394ab8a..45f24cc 100644 --- a/.forgejo/workflows/clippy-check.yml +++ b/.forgejo/workflows/clippy-check.yml @@ -2,6 +2,10 @@ name: Code quality on: pull_request +concurrency: + group: "${{ github.ref }}" + cancel-in-progress: true + jobs: check: runs-on: nix-flakes