diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 1dacca4..632abe8 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -8,6 +8,10 @@ on: tags: - '*' +concurrency: + group: image-${{ github.ref || github.head_ref }} + cancel-in-progress: true + jobs: docker: runs-on: ubuntu-latest diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c6916eb..8c62df3 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -6,6 +6,11 @@ on: pull_request: paths: - '**' + +concurrency: + group: lint-${{ github.ref || github.head_ref }} + cancel-in-progress: true + env: FORCE_COLOR: 1 jobs: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b8888c5..75ab178 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,10 @@ on: - '*' pull_request: +concurrency: + group: test-${{ github.ref || github.head_ref }} + cancel-in-progress: true + jobs: docker: runs-on: ubuntu-latest diff --git a/.github/workflows/tool-image.yml b/.github/workflows/tool-image.yml index 81f3ab1..7838037 100644 --- a/.github/workflows/tool-image.yml +++ b/.github/workflows/tool-image.yml @@ -7,6 +7,9 @@ on: - master tags: - '*' +concurrency: + group: tool-image-${{ github.ref || github.head_ref }} + cancel-in-progress: true jobs: docker: