Skip to content

Commit

Permalink
Improve documentation for concurrency groups
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Dec 16, 2023
1 parent 4122ead commit 3114904
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/debug-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
paths:
- 'client-next/**'

# to avoid conflicts, make sure that only one workflow pushes to Github at the same time
concurrency:
group: git-commit
group: github-push

jobs:
debug-client:
Expand Down Expand Up @@ -83,4 +84,4 @@ jobs:
git add ${CLIENT_HTML_OUTPUT}
git commit -m "Upgrade debug client to version ${VERSION}"
git push origin dev-2.x
git push ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git HEAD:dev-2.x
4 changes: 2 additions & 2 deletions .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
- dev-2.x
types: [closed]

# make sure that only one workflow pushes to Github at the same time
# to avoid conflicts, make sure that only one workflow pushes to Github at the same time
concurrency:
group: git-commit
group: github-push

jobs:
changelog-entry:
Expand Down

0 comments on commit 3114904

Please sign in to comment.