From e5ac37b578cb43d291f489c3e14f64058fb7b6a1 Mon Sep 17 00:00:00 2001 From: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com> Date: Thu, 7 Apr 2022 15:03:00 +0200 Subject: [PATCH] TSK-1842: replaced workflow-run-cleanup-action with new concurrency cmd due to deprecation warning --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e79f5d2ef..19196e228 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -8,6 +8,10 @@ on: - v[0-9]+\.[0-9]+\.[0-9]+ pull_request: +concurrency: + group: ${{ github.repository }}/${{ github.ref }} + cancel-in-progress: true + env: JAVA_VERSION: 11 NODE_VERSION: 16.14.2 @@ -33,10 +37,6 @@ jobs: name: Compile all maven modules runs-on: ubuntu-20.04 steps: - - name: Cleanup old CI runs on same branch - uses: rokroskar/workflow-run-cleanup-action@v0.3.3 - env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - name: Git checkout uses: actions/checkout@v3 - name: Set up JDK ${{ env.JAVA_VERSION }}