Skip to content

Commit

Permalink
Set concurrency for JMH benchmarking workflow (#784)
Browse files Browse the repository at this point in the history
We should only allow one benchmarking workflow to be running at any
given time, since we only have one VM allocated for it.
  • Loading branch information
msridhar committed Jul 18, 2023
1 parent e7ec4b9 commit 4eed5cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/jmh-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
issue_comment: # This workflow triggers when a comment is created
types: [created]

# Only allow one instance of JMH benchmarking to be running at any given time
concurrency: all

jobs:
benchmarking:
# Only run this job if a comment on a pull request contains '/benchmark' and is a PR on the uber/NullAway repository
Expand Down

0 comments on commit 4eed5cd

Please sign in to comment.