diff options
author | 2021-05-15 15:49:34 +0200 | |
---|---|---|
committer | 2021-05-15 15:49:34 +0200 | |
commit | 31963c5f1f4d9482d0daa38abd452531feb9bea3 (patch) | |
tree | 88c9eae61afcdb861389dfc2a2bda9431129db3a | |
parent | Merge pull request #645 from python-discord/bookmark-react-for-copy (diff) | |
parent | Add concurrency behaviour to github actions (diff) |
Merge pull request #735 from python-discord/concurrency-action
Add concurrency behaviour to github actions
-rw-r--r-- | .github/workflows/build.yaml | 4 | ||||
-rw-r--r-- | .github/workflows/lint.yaml | 3 | ||||
-rw-r--r-- | .github/workflows/sentry_release.yaml | 4 | ||||
-rw-r--r-- | .github/workflows/status_embed.yaml | 4 |
4 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index baa046ce..dac711f8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,6 +8,10 @@ on: types: - completed +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: build: if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7f157da3..3a9b6dbd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -6,6 +6,9 @@ on: - main pull_request: +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true jobs: lint: diff --git a/.github/workflows/sentry_release.yaml b/.github/workflows/sentry_release.yaml index 3d15e01e..e7bc0429 100644 --- a/.github/workflows/sentry_release.yaml +++ b/.github/workflows/sentry_release.yaml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: create_sentry_release: runs-on: ubuntu-latest diff --git a/.github/workflows/status_embed.yaml b/.github/workflows/status_embed.yaml index 28caa8c2..23677488 100644 --- a/.github/workflows/status_embed.yaml +++ b/.github/workflows/status_embed.yaml @@ -8,6 +8,10 @@ on: types: - completed +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: status_embed: # We send the embed in the following situations: |