The branch for the running task. ``run_workflow`` always sets a base branch before executing the script, so this is defined during a run.
()
| 39 | |
| 40 | |
| 41 | def current_branch() -> Branch: |
| 42 | """The branch for the running task. ``run_workflow`` always sets a base |
| 43 | branch before executing the script, so this is defined during a run.""" |
| 44 | return _current.get() |
| 45 | |
| 46 | |
| 47 | def use_branch(path: CallKey): |