diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 370c6172..718510c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,10 @@ on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1 diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 6289032a..0afa0045 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -6,6 +6,10 @@ on: - cron: "0 0 * * 1" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1