diff --git a/.github/workflows/code-linter.yml b/.github/workflows/code-linter.yml index cf9c8809c..3bb902c32 100644 --- a/.github/workflows/code-linter.yml +++ b/.github/workflows/code-linter.yml @@ -9,6 +9,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 916c435e5..e05721c01 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -7,6 +7,10 @@ on: branches: - dev +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: pr-test: runs-on: ubuntu-latest