Commit ab805ff 1 parent 440a3ac commit ab805ff Copy full SHA for ab805ff
File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 23
23
# of nightly. This allows CI to test against latest commits from PyTorch
24
24
install_executorch " use-pt-pinned-commit"
25
25
build_executorch_runner " ${BUILD_TOOL} "
26
- do_not_use_nightly_on_ci
26
+
27
+ if [[ " ${GITHUB_BASE_REF:- } " == * main* || " ${GITHUB_BASE_REF:- } " == * gh* ]]; then
28
+ do_not_use_nightly_on_ci
29
+ fi
Original file line number Diff line number Diff line change @@ -137,4 +137,7 @@ install_pytorch_and_domains
137
137
# the pinned commit from PyTorch
138
138
install_executorch " use-pt-pinned-commit"
139
139
build_executorch_runner " ${BUILD_TOOL} "
140
- do_not_use_nightly_on_ci
140
+
141
+ if [[ " ${GITHUB_BASE_REF:- } " == * main* || " ${GITHUB_BASE_REF:- } " == * gh* ]]; then
142
+ do_not_use_nightly_on_ci
143
+ fi
You can’t perform that action at this time.
0 commit comments