Projects STRLCPY criu Commits 0c523993
🤬
  • ci: cancel preceding workflows run

    This patch adds concurrency groups to the CI workflows to automatically
    cancel any in-progress workflows when a pull request has been updated.
    A `concurrency` group allows to ensure that a single job or workflow
    will run at a time. For example, when a pull request is updated with
    a force-push, the GiHub CI workflows currently in-progress will be
    automatically cancelled, and the CI would run only with the updated
    commits.
    
    https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
    
    Signed-off-by: Radostin Stoyanov <[email protected]>
  • Loading...
  • 0c523993
    1 parent 5c8cdcee
  • ■ ■ ■ ■ ■
    .github/workflows/alpine-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: alpine-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 9 lines
  • ■ ■ ■ ■ ■
    .github/workflows/archlinux-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: archlinux-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 5 lines
  • ■ ■ ■ ■ ■
    .github/workflows/codeql.yml
    skipped 7 lines
    8 8   schedule:
    9 9   - cron: "11 6 * * 3"
    10 10   
     11 +# Cancel any preceding run on the pull request.
     12 +concurrency:
     13 + group: codeql-test-${{ github.event.pull_request.number || github.ref }}
     14 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     15 + 
    11 16  jobs:
    12 17   analyze:
    13 18   name: Analyze
    skipped 33 lines
  • ■ ■ ■ ■ ■
    .github/workflows/compat-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: compat-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 10 lines
  • ■ ■ ■ ■ ■
    .github/workflows/cross-compile.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: cross-compile-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   
    skipped 28 lines
  • ■ ■ ■ ■ ■
    .github/workflows/docker-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: docker-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ${{ matrix.os }}
    skipped 8 lines
  • ■ ■ ■ ■ ■
    .github/workflows/fedora-asan-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: fedora-asan-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 6 lines
  • ■ ■ ■ ■ ■
    .github/workflows/fedora-rawhide-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: fedora-rawhide-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 10 lines
  • ■ ■ ■ ■ ■
    .github/workflows/gcov-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: gcov-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 10 lines
  • ■ ■ ■ ■ ■
    .github/workflows/java-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: java-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 5 lines
  • ■ ■ ■ ■ ■
    .github/workflows/lint.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: lint-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-latest
    skipped 29 lines
  • ■ ■ ■ ■ ■
    .github/workflows/podman-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: podman-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 5 lines
  • ■ ■ ■ ■ ■
    .github/workflows/stream-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: stream-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 6 lines
  • ■ ■ ■ ■ ■
    .github/workflows/x86-64-clang-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: clang-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 5 lines
  • ■ ■ ■ ■ ■
    .github/workflows/x86-64-gcc-test.yml
    skipped 1 lines
    2 2   
    3 3  on: [push, pull_request]
    4 4   
     5 +# Cancel any preceding run on the pull request.
     6 +concurrency:
     7 + group: gcc-test-${{ github.event.pull_request.number || github.ref }}
     8 + cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}
     9 + 
    5 10  jobs:
    6 11   build:
    7 12   runs-on: ubuntu-20.04
    skipped 5 lines
Please wait...
Page is in error, reload to recover