diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5fd016b..4e3610f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,6 +5,10 @@ on: types: - labeled +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.OSX_CROSS_ARM_HOMEBREW_GITHUB_API_TOKEN }} PULL_REQUEST: ${{ github.event.pull_request.number }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 43ffd86..79d0063 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,6 +7,11 @@ on: - master pull_request: + types: [opened, synchronize, reopened] + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: test-bot: