release pipeline trigger filter based on name
We want github pipeline to trigger on this #5333: releases/0.9.0 from test_releases/0.9.0
We don't want github pipeline to trigger on this #5350, releases/0.9.0 from DanielZhangQD:dashboard2
So we add a rule to filter based on branch name: test_releases/xxx
Tested (run the relevant ones):
- [x] Code formatting: install pre-commit (auto-check on commit) or
bash format.sh
can we also add a workflow_path to the release action, so we can manually trigger it?
Can we also add a
workflow_pathto the release action so we can manually trigger it?
I don't think this would be reasonable. All checks are done in release-build.yml, and the test_releases/xxx branch is also created from that pipeline. We should manually trigger the release-build.yml pipeline instead of this one. If we allow manual publishing, we might release untested code to PyPI.