diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f309d5e..7a29b325 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,11 +120,10 @@ jobs: runs-on: ubuntu-latest needs: [package,dao_analyzer_components_publish] if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - uses: actions/checkout@master - name: Getting built package uses: actions/download-artifact@v3