diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17af6d365758..8b7bb84f326b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ on: permissions: contents: read # to fetch code (actions/checkout) concurrency: - group: ${{ github.event.number }} + group: ${{ github.event.number || github.run_id }} cancel-in-progress: true jobs: build-carbon: @@ -170,4 +170,4 @@ jobs: fetch-depth: '10' path: product-apim - name: Build product-apim with tests - run: mvn clean install -Dcarbon.apimgt.version=$(cat ../CARBON_APIMGT_VERSION_FILE) -fae --file product-apim/pom.xml -DskipIntegrationTests \ No newline at end of file + run: mvn clean install -Dcarbon.apimgt.version=$(cat ../CARBON_APIMGT_VERSION_FILE) -fae --file product-apim/pom.xml -DskipIntegrationTests