View as Markdown
Rules

New from-fork condition attribute

Conditions can now match on whether a pull request comes from a fork.

from-fork is true when a pull request’s head branch and base branch live in different repositories. Use it anywhere conditions are accepted, for example to skip a rule on external contributions:

- -from-fork

It is also true when the head repository has been deleted.

Was this page helpful?