Skip to content

Commit

Permalink
Merge pull request #330 from ydah/use_concurrency
Browse files Browse the repository at this point in the history
Use concurrency for GitHub Actions workflow
  • Loading branch information
koic authored Jan 7, 2023
2 parents a1e0556 + 561333c commit f911b48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
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/spell_checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Spell Checking

on: [pull_request]

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

jobs:
codespell:
name: Check spelling of all files with codespell
Expand Down

0 comments on commit f911b48

Please sign in to comment.