diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53b9b43be3f..92eb4e29621 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: CI on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + jobs: test-ubuntu-latest: diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index a5e3ebd015a..cec367b903e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -4,6 +4,10 @@ name: "Codecov" # where each PR needs to be compared against the coverage of the head commit on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 117161a9cf3..f0a12a0a6f4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,6 +6,10 @@ on: # run weekly new vulnerability was added to the database - cron: '0 0 * * 0' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 4c99adb92f7..3f125ae4d68 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -6,6 +6,11 @@ on: - cron: '0 0 * * *' # Support manual execution workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + jobs: coverity: if: github.repository == 'redis/redis' diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 029ec4530e1..c0c169569c0 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -27,8 +27,6 @@ on: use_git_ref: description: 'git branch or sha to use' default: 'unstable' - - jobs: test-ubuntu-jemalloc: diff --git a/.github/workflows/external.yml b/.github/workflows/external.yml index 9dd3340aa61..75501d248ed 100644 --- a/.github/workflows/external.yml +++ b/.github/workflows/external.yml @@ -6,6 +6,10 @@ on: schedule: - cron: '0 0 * * *' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + jobs: test-external-standalone: runs-on: ubuntu-latest diff --git a/.github/workflows/reply-schemas-linter.yml b/.github/workflows/reply-schemas-linter.yml index 539e739f386..9e292927d8c 100644 --- a/.github/workflows/reply-schemas-linter.yml +++ b/.github/workflows/reply-schemas-linter.yml @@ -8,6 +8,10 @@ on: paths: - 'src/commands/*.json' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + jobs: reply-schemas-linter: runs-on: ubuntu-latest diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index 48b949b054f..a0efc05d100 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -9,6 +9,10 @@ on: push: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.head_ref || github.ref }} + cancel-in-progress: true + jobs: build: name: Spellcheck diff --git a/1.txt b/1.txt new file mode 100644 index 00000000000..e69de29bb2d