diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8f5075c58..73793c2d30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,9 @@ name: 'main' +concurrency: + group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: pull_request: @@ -24,11 +28,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Install dependencies run: | sudo apt-get update -qq @@ -110,11 +109,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Install dependencies run: | sudo apt-get update -qq @@ -211,11 +205,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Install dependencies run: | sudo apt-get update -qq @@ -321,11 +310,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Install dependencies run: | sudo apt-get update -qq @@ -391,11 +375,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Setup Java uses: actions/setup-java@v3 with: @@ -538,11 +517,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Install Core Dependencies run: | choco install -y make @@ -692,11 +666,6 @@ jobs: steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - - name: Install Core Dependencies run: | choco install -y make @@ -815,10 +784,6 @@ jobs: - clang steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - name: Setup Java uses: actions/setup-java@v3 @@ -946,10 +911,6 @@ jobs: runs-on: ubuntu-20.04 steps: - - name: Cancel previous - uses: styfle/cancel-workflow-action@0.11.0 - with: - access_token: ${{ github.token }} - name: Install Dependencies run: |