When I use context.repo.branch or context.build.branch in .drone.star
I seem to get master
- the target branch of the PR.
How do I get the PR branch name from the context?
When I use context.repo.branch or context.build.branch in .drone.star
I seem to get master
- the target branch of the PR.
How do I get the PR branch name from the context?
I found it - context.build.source has the source branch of the PR.