We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75485dc commit 31b494bCopy full SHA for 31b494b
.github/workflows/benchmark.yml
@@ -23,11 +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: |
27
- ${{
28
- github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'performance') ||
29
- github.event_name == 'push'
30
- }}
+ if: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'performance')) || github.event_name == 'push' }}
31
env:
32
# For PRs, compare against the base branch - e.g., 'main'.
33
# For pushes to main, compare against the previous commit
0 commit comments