From 2fc19252a823bccf92d6ddbd19a72d0949391c3c Mon Sep 17 00:00:00 2001 From: Gaelle Fournier Date: Mon, 18 May 2026 20:28:57 +0200 Subject: [PATCH] chore: replace deprecated cancel-previous-runs with native concurrency groups --- .github/workflows/build.actions.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.actions.yml b/.github/workflows/build.actions.yml index 6b3e25f..ffdc762 100644 --- a/.github/workflows/build.actions.yml +++ b/.github/workflows/build.actions.yml @@ -12,15 +12,16 @@ env: BOOTSTRAP_MAVEN_REPOS: redhat-ga BOOTSTRAP_MAVEN_REPO_REDHAT_GA_URL: https://maven.repository.redhat.com/ga +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: build-test: name: "Build & Test" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: n1hility/cancel-previous-runs@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - name: Set up JDK 21 # Uses sha for added security since tags can be updated uses: joschi/setup-jdk@1818212fcdf7eea4e09a6eb156c536640bf7b52f