mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
19 hours ago b4313acc0f6709e24561be01fcb2f39be480a357
Add concurrency groups to GitHub Actions workflows (#721)
4 files modified
44 ■■■■■ changed files
.github/workflows/benchmark.yml 2 ●●● patch | view | raw | blame | history
.github/workflows/build.yml 4 ●●●● patch | view | raw | blame | history
.github/workflows/deploy.yml 19 ●●●●● patch | view | raw | blame | history
.github/workflows/release.yml 19 ●●●●● patch | view | raw | blame | history
.github/workflows/benchmark.yml
@@ -49,7 +49,7 @@
  contents: read
concurrency:
  group: benchmark-${{ github.ref }}
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true
defaults:
.github/workflows/build.yml
@@ -19,6 +19,10 @@
    branches: [ 'sustaining/4.10.x','master', 'issues/**', 'features/**' ]
  pull_request:
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true
jobs:
  build-maven:
    runs-on: ${{ matrix.os }}
.github/workflows/deploy.yml
@@ -1,3 +1,17 @@
# The contents of this file are subject to the terms of the Common Development and
# Distribution License (the License). You may not use this file except in compliance with the
# License.
#
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
# specific language governing permission and limitations under the License.
#
# When distributing Covered Software, include this CDDL Header Notice in each file and include
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
# Header, with the fields enclosed by brackets [] replaced by your own identifying
# information: "Portions copyright [year] [name of copyright owner]".
#
# Copyright 2021-2026 3A Systems, LLC.
name: Package/Deploy
on:
@@ -5,6 +19,11 @@
    branches: [ 'sustaining/4.10.x','master' ]
    workflows: ["Build","Release"]
    types: [completed]
concurrency:
  group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
  cancel-in-progress: false
jobs:
  package-deploy-maven:
    if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event=='push'}}
.github/workflows/release.yml
@@ -1,3 +1,17 @@
# The contents of this file are subject to the terms of the Common Development and
# Distribution License (the License). You may not use this file except in compliance with the
# License.
#
# You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
# specific language governing permission and limitations under the License.
#
# When distributing Covered Software, include this CDDL Header Notice in each file and include
# the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
# Header, with the fields enclosed by brackets [] replaced by your own identifying
# information: "Portions copyright [year] [name of copyright owner]".
#
# Copyright 2022-2026 3A Systems, LLC.
name: Release
on:
@@ -11,6 +25,11 @@
        description: "Default version to use for new local working copy."
        required: true
        default: "X.Y.Z-SNAPSHOT"
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: false
jobs:
  release-maven:
    runs-on: 'ubuntu-latest'