From 4eed5cd52de581ee083b4816fc93e12e58a7fa60 Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Mon, 17 Jul 2023 20:06:11 -0700 Subject: [PATCH] Set concurrency for JMH benchmarking workflow (#784) We should only allow one benchmarking workflow to be running at any given time, since we only have one VM allocated for it. --- .github/workflows/jmh-benchmark.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/jmh-benchmark.yml b/.github/workflows/jmh-benchmark.yml index 858a411306..aed98872d7 100644 --- a/.github/workflows/jmh-benchmark.yml +++ b/.github/workflows/jmh-benchmark.yml @@ -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