Skip to content

Commit

Permalink
Cancel concurrent ci runs
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Jul 19, 2022
1 parent 4a19ab1 commit cd9bcec
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -7,6 +7,12 @@ on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/e2e.yml
Expand Up @@ -8,6 +8,12 @@ name: e2e
on:
issue_comment:
types: [created]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-tracker.yml
Expand Up @@ -3,6 +3,12 @@ name: release-tracker
on:
pull_request:
types: [closed]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -4,6 +4,12 @@ on:
push:
tags:
- "*.*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/update-docs.yml
Expand Up @@ -4,6 +4,12 @@ on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down

0 comments on commit cd9bcec

Please sign in to comment.