renovate-downstream: check for branch in event instead of github.ref
Created by: bobheadxi
After the logs added in #13845 , it looks like github.ref
does not refer to the branch of the event but of the workflow file itself! So any buildkite success was triggering Renovate. Should close #13842
This change looks at the branches in the event itself using the builtin function contains