mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
ci: Specify concurrency for github workflows (#2059)
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -7,6 +7,11 @@ on:
|
|||||||
branches: [master, release/*, develop]
|
branches: [master, release/*, develop]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
name: Build and publish Clio docker image
|
name: Build and publish Clio docker image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
@@ -37,6 +38,11 @@ on:
|
|||||||
description: Whether to strip clio binary
|
description: Whether to strip clio binary
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish_image:
|
build_and_publish_image:
|
||||||
name: Build and publish image
|
name: Build and publish image
|
||||||
|
|||||||
5
.github/workflows/check_libxrpl.yml
vendored
5
.github/workflows/check_libxrpl.yml
vendored
@@ -4,6 +4,11 @@ on:
|
|||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [check_libxrpl]
|
types: [check_libxrpl]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CONAN_PROFILE: gcc
|
CONAN_PROFILE: gcc
|
||||||
|
|
||||||
|
|||||||
5
.github/workflows/clang-tidy.yml
vendored
5
.github/workflows/clang-tidy.yml
vendored
@@ -11,6 +11,11 @@ on:
|
|||||||
- .github/workflows/clang-tidy.yml
|
- .github/workflows/clang-tidy.yml
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CONAN_PROFILE: clang
|
CONAN_PROFILE: clang
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -1,4 +1,5 @@
|
|||||||
name: Documentation
|
name: Documentation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [develop]
|
branches: [develop]
|
||||||
@@ -10,7 +11,8 @@ permissions:
|
|||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: "pages"
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
5
.github/workflows/nightly.yml
vendored
5
.github/workflows/nightly.yml
vendored
@@ -9,6 +9,11 @@ on:
|
|||||||
- ".github/workflows/nightly.yml"
|
- ".github/workflows/nightly.yml"
|
||||||
- ".github/workflows/build_clio_docker_image.yml"
|
- ".github/workflows/build_clio_docker_image.yml"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
|
|||||||
5
.github/workflows/sanitizers.yml
vendored
5
.github/workflows/sanitizers.yml
vendored
@@ -8,6 +8,11 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- ".github/workflows/sanitizers.yml"
|
- ".github/workflows/sanitizers.yml"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
|
|||||||
5
.github/workflows/update_docker_ci.yml
vendored
5
.github/workflows/update_docker_ci.yml
vendored
@@ -18,6 +18,11 @@ on:
|
|||||||
- ".github/actions/build_docker_image/**"
|
- ".github/actions/build_docker_image/**"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_push:
|
build_and_push:
|
||||||
name: Build and push docker image
|
name: Build and push docker image
|
||||||
|
|||||||
Reference in New Issue
Block a user