diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index a787ecf5..a4633400 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -16,6 +16,10 @@ on: permissions: contents: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: PRODUCTION_VCS_REF: refs/heads/master STAGING_VCS_REF: refs/heads/develop diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 969a3f19..4e6cf607 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,6 +87,7 @@ jobs: with: path: "venv" key: py-v1-deps-${{ runner.os }}-${{ matrix.python_version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('Makefile', 'make/**.mk') }} + fail-on-cache-miss: true - name: Set Tox Environment id: set_tox_environment diff --git a/.github/workflows/dependency-review.yaml b/.github/workflows/dependency-review.yaml index bff71843..2a99b6ae 100644 --- a/.github/workflows/dependency-review.yaml +++ b/.github/workflows/dependency-review.yaml @@ -10,6 +10,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: dependency-review: name: Dependency Review diff --git a/.github/workflows/git-commit-lint.yaml b/.github/workflows/git-commit-lint.yaml index 2f60b4fd..59aee589 100644 --- a/.github/workflows/git-commit-lint.yaml +++ b/.github/workflows/git-commit-lint.yaml @@ -12,6 +12,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: git-commit-lint: name: Git Commit Linter diff --git a/.github/workflows/super-linter.yaml b/.github/workflows/super-linter.yaml index 23ce3bc0..34c63d1b 100644 --- a/.github/workflows/super-linter.yaml +++ b/.github/workflows/super-linter.yaml @@ -24,6 +24,10 @@ permissions: statuses: write checks: write +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: super-linter: name: Super-Linter