Skip to content

Commit

Permalink
Optimize CI during crowdin sync (nodejs#7114)
Browse files Browse the repository at this point in the history
* fix(ci): cancel existing runs during noisy crowdin syncs

* be more precise in the grouping
  • Loading branch information
bmuenzenmeyer authored Oct 11, 2024
1 parent f116efe commit 3c0635c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
branches:
- main

# Cancel any runs on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
- 'packages/i18n/locales/*.json'
- '!packages/i18n/locales/en.json'

# Cancel any runs on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
actions: read

Expand Down

0 comments on commit 3c0635c

Please sign in to comment.