Add ability to run pull request pipeline when PR is initiated from a fork

Issue #17656 duplicate
Sam Hathaway
created an issue

Pull request pipelines have been added as per issue #13438. However, the pipeline documentation currently states:

This only applies to pull requests initiated from within your repository; pull requests from a forked repository will not trigger the pipeline.

In our workflow, each developer has their own fork from which they initiate pull requests to our main repository. I'd like to be able to turn on a pull request pipeline on the main repository and have it triggered when a pull request is initiated from a fork.

Comments (3)

  1. Luke Batchelor

    This is a dupe of

    There's some interesting points there raised around the security of env vars (anyone creating a fork of your repo could exfiltrate your environment variables, if we were to hide private ones, then certain parts of your build wouldn't be able to run). Also around billing, any person on the internet could fork your repo and use your build minutes to mine crypto / send spam.

    There's another issue open about how to handle the environment variables, thought I can't seem to find it right now.

  2. Aneita Yang staff

    Hi everyone,

    Thanks for your interest in this functionality. I can see why this functionality would be a valuable addition to Pipelines.

    As Luke mentioned, we're currently tracking this request on issue #13162 so I encourage you to vote for / watch that ticket if it's something that you're interested in seeing. Given our current priorities however, it's unlikely that we'll support the functionality within the next couple of months.


  3. Log in to comment