Skip to content

Commit 943133d

Browse files
committed
fix: restore dynamic label check for import profiler BUILD_TYPE
1 parent 483e44b commit 943133d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/import-profiler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
python -m pip install --upgrade setuptools pip wheel
3131
- name: Run import profiler
3232
env:
33-
BUILD_TYPE: 'all'
33+
BUILD_TYPE: ${{ contains(github.event.pull_request.labels.*.name, 'import_profile:all_packages') && 'all' || 'presubmit' }}
3434
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref }}
3535
TEST_TYPE: import_profile
3636
PY_VERSION: "3.15"

0 commit comments

Comments
 (0)