We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f342bf7 commit 45bacacCopy full SHA for 45bacac
.github/workflows/benchmark.yml
@@ -23,7 +23,7 @@ jobs:
23
# runners on arbitrary PRs, and we don't want to unleash that load on the pool anyway.
24
# If we're running on main, use the OTEL self-hosted runner pool.
25
runs-on: ${{ github.event_name == 'pull_request' && 'ubuntu-latest' || 'self-hosted' }}
26
- if: ${{ contains(github.event.pull_request.labels.*.name, 'performance') }}
+ if: ${{ github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'performance') }}
27
env:
28
# For PRs, compare against the base branch - e.g., 'main'.
29
# For pushes to main, compare against the previous commit
0 commit comments