Skip to content

Commit 19c7608

Browse files
committed
github, microbench-ci: skip perf check if label is present
If the 'X-skip-perf-check' label is present, skip the performance check. Epic: None Release note: None
1 parent 3771fe2 commit 19c7608

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/microbenchmarks-ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
name: build merge base
2020
runs-on: [self-hosted, basic_runner_group]
2121
timeout-minutes: 30
22+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'X-skip-perf-check') }}
2223
outputs:
2324
merge_base: ${{ steps.build.outputs.merge_base }}
2425
steps:
@@ -34,6 +35,7 @@ jobs:
3435
name: build head
3536
runs-on: [self-hosted, basic_runner_group]
3637
timeout-minutes: 30
38+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'X-skip-perf-check') }}
3739
steps:
3840
- name: Checkout
3941
uses: actions/checkout@v4

0 commit comments

Comments
 (0)