diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index eef99a83..08b260cf 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,14 +11,15 @@ on: - alpha pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: lint: name: ⬣ Lint runs-on: ubuntu-latest steps: - - name: 🛑 Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v3 @@ -60,9 +61,6 @@ jobs: os: ubuntu-latest runs-on: ${{ matrix.os }} steps: - - name: 🛑 Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v3 @@ -93,9 +91,6 @@ jobs: contains('refs/heads/main,refs/heads/next,refs/heads/beta,refs/heads/alpha', github.ref) && github.event_name == 'push' steps: - - name: 🛑 Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.11.0 - - name: ⬇️ Checkout repo uses: actions/checkout@v3