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