diff --git a/.github/workflows/ci_dbt_core_testing.yml b/.github/workflows/ci_dbt_core_testing.yml index 1642b520..459c85ba 100644 --- a/.github/workflows/ci_dbt_core_testing.yml +++ b/.github/workflows/ci_dbt_core_testing.yml @@ -38,6 +38,11 @@ on: permissions: read-all +# will cancel previous workflows triggered by the same event and for the same ref for PRs or same SHA otherwise +concurrency: + group: ${{ github.workflow }}-${{ github.event_name }}-${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.ref || github.sha }} + cancel-in-progress: true + defaults: run: shell: bash @@ -101,17 +106,6 @@ jobs: with: python-version: "3.11" - - name: "Where are we?" - run: ls -al - - - name: "Cat action" - run: cat ./.github/actions/setup-postgres-linux/action.yml - - # TODO: do we want to run other os versions? - - name: Set up postgres (linux) - if: runner.os == 'Linux' - uses: ./.github/actions/setup-postgres-linux - - name: "Install python tools & dependencies" run: | python -m pip install --user --upgrade pip