The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 šŸ¤·

TAGS
AUG Leaders

Atlassian Community Events