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 }}