Skip to content

Commit f400690

Browse files
authored
Run torchprime CI only when the pull requests have torchprimeci label (#9551)
1 parent 1f787f1 commit f400690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
timeout-minutes: 100
8585
has_code_changes: ${{ needs.check_code_changes.outputs.has_code_changes }}
86-
if: github.event_name == 'push' || github.event_name == 'pull_request'
86+
if: contains(github.event.pull_request.labels.*.name, 'torchprimeci')
8787
secrets: inherit
8888

8989
push-docs:

0 commit comments

Comments
 (0)