File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3030 build-clang-format-wheels :
3131 name : " clang-format :: ${{ matrix.os }} :: ${{ matrix.platform }}-${{ matrix.arch }}"
3232 runs-on : ${{ matrix.os }}
33-
33+ if : github.event_name == 'workflow_dispatch' # only build on manual trigger to save time and resources
3434 strategy :
3535 matrix :
3636 # emulated linux: generate 4 matrix combinations with qemu on ubuntu:
@@ -150,7 +150,7 @@ jobs:
150150 build-clang-tidy-wheels :
151151 name : " clang-tidy :: ${{ matrix.os }} :: ${{ matrix.platform }}-${{ matrix.arch }}"
152152 runs-on : ${{ matrix.os }}
153-
153+ if : github.event_name == 'workflow_dispatch' # only build on manual trigger to save time and resources
154154 strategy :
155155 matrix :
156156 include :
@@ -466,7 +466,7 @@ jobs:
466466
467467 - name : Create draft release
468468 uses : softprops/action-gh-release@v2
469- if : github.event_name == 'workflow_dispatch'
469+ if : github.event_name == 'workflow_dispatch' # only create release on manual trigger
470470 with :
471471 draft : true
472472 files : release-assets/*
You can’t perform that action at this time.
0 commit comments