From 9bbbef62790277871265c2ca65f9ebe0f9a2bae2 Mon Sep 17 00:00:00 2001 From: jubnl Date: Tue, 25 Aug 2026 22:23:56 +0200 Subject: [PATCH] chore(workflows) add concurrency with cancel in progress --- .github/workflows/lint-prettier.yml | 5 +++++ .github/workflows/security.yml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/lint-prettier.yml b/.github/workflows/lint-prettier.yml index 41c746117..b5677fc63 100644 --- a/.github/workflows/lint-prettier.yml +++ b/.github/workflows/lint-prettier.yml @@ -2,6 +2,11 @@ name: Lint & Prettier on: pull_request: branches: [main, dev] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 5b2cfe08b..c522f18c1 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -9,6 +9,10 @@ on: permissions: pull-requests: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: scout: # Docker Hub secrets are not exposed to pull requests from forks, so the