Skip to content

Commit 9db4a4b

Browse files
authored
Fix External libs test to not upload PR number if not labeled (#9534)
1 parent 8e75498 commit 9db4a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/lib.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
#Upload PR number as artifact
126126
upload-pr-number:
127127
name: Upload PR number
128-
if: github.event_name == 'pull_request'
128+
if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'lib_test'))
129129
runs-on: ubuntu-latest
130130
steps:
131131
- name: Save the PR number in an artifact

0 commit comments

Comments
 (0)