Skip to content

Commit

Permalink
Merge pull request #1539 from ydah/use_concurrency
Browse files Browse the repository at this point in the history
Use concurrency for GitHub Actions workflow
  • Loading branch information
pirj committed Jan 6, 2023
2 parents 362fbbf + 9196085 commit 32a43ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CodeSpell
on:
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codespell:
name: CodeSpell
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Linting
on:
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
yamllint:
name: Yamllint
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- master

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

jobs:
confirm_config_and_documentation:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 32a43ed

Please sign in to comment.