Drone CI’s when
for deciding in which cases to run steps/pipelines targets the merge target branch for PRs and not the actual PR’s, also it pulls from refs/pull/<num>/head
instead of refs/heads/<branch>
so you can’t target the branch itself using the pull_request
event (use push
on the pipeline and then branch
for the step instead).