Skip to content

Commit

Permalink
chore(ci): set concurrency on deploy workflow
Browse files Browse the repository at this point in the history
This helps to avoid the problem we've had that if two PRs get merged to main quickly after one another, we run into GitHub API rate limits.
  • Loading branch information
xiehan authored Dec 4, 2023
1 parent 5ade0bd commit 49de660
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
build-shard-matrix:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 49de660

Please sign in to comment.