Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Should a pipeline run agains a PR from a forked repo?

jcleach December 16, 2020

I have a private repo that a developer created a private fork of. When they created a PR the pipeline didn't run and no code quality metrics ran agains it. I'm curious if this is normal or if the pipeline should run agains a submitted PR?

Seems like this scenario in GitHub would run the Workflow agains the PR so I know if its a quality (test / lint / sonar / etc).

1 answer

1 accepted

0 votes
Answer accepted
jcleach December 16, 2020

I think the answer to this is **no** which is a huge same. The reasons the triggers run agains a source branch not the destination branch. In the case of a source branch is part of a different repository.

This is a huge problem because you can't run code quality / tests **before** you merge. This makes forking on bitbucket useless. 

 

Oh Bitbucket šŸ¤·

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events