Skip to content

Commit

Permalink
build: prevent concurrent CI and CQ worflow runs
Browse files Browse the repository at this point in the history
Use concurrency groups to prevent new runs from being started while a
previous job is already running. This can happen when a lot of unrelated
jobs are pending because of runner exhaustion.
  • Loading branch information
targos committed Feb 16, 2022
1 parent 680f3a5 commit 34eb3b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/auto-start-ci.yml
Expand Up @@ -8,6 +8,8 @@ on:
# ./doc/contributing/commit-queue.md
- cron: '*/5 * * * *'

concurrency: auto-start-ci

env:
NODE_VERSION: lts/*

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/commit-queue.yml
Expand Up @@ -13,6 +13,8 @@ on:
schedule:
- cron: '*/5 * * * *'

concurrency: commit-queue

env:
NODE_VERSION: lts/*

Expand Down

0 comments on commit 34eb3b9

Please sign in to comment.