Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added concurrency option to github workflows #7205

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Expand Up @@ -2,6 +2,10 @@ name: Docs

on: [push, pull_request]

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

jobs:
docs:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/frontend.yml
Expand Up @@ -2,6 +2,11 @@ name: django CMS frontend.yml

on: [push, pull_request]

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


jobs:
frontend:
runs-on: ubuntu-20.04
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/linters.yml
Expand Up @@ -2,6 +2,11 @@ name: django CMS linters.yml

on: [push, pull_request]

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


jobs:
flake8:
name: flake8
Expand All @@ -21,7 +26,6 @@ jobs:
linters: flake8
run: flake8


isort:
runs-on: ubuntu-latest
steps:
Expand All @@ -38,4 +42,3 @@ jobs:
with:
linters: isort
run: isort --check --diff cms

4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -2,6 +2,10 @@ name: django CMS test.yml

on: [push, pull_request]

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

jobs:
database-postgres:
runs-on: ${{ matrix.os }}
Expand Down