1
0
mirror of synced 2026-01-02 12:04:38 -05:00
Files
docs/data/reusables/developer-site/pull_request_forked_repos_link.md
mc d403ede200 apply suggested fix (#22290)
* Applied agreed fix
2021-10-20 20:19:23 +00:00

1.4 KiB

Pull request events for forked repositories

{% note %}

Note: Workflows do not run on private base repositories when you open a pull request from a forked repository.

{% endnote %}

When you create a pull request from a forked repository to the base repository, {% data variables.product.prodname_dotcom %} sends the pull_request event to the base repository and no pull request events occur on the forked repository.

Workflows don't run on forked repositories by default. You must enable GitHub Actions in the Actions tab of the forked repository.

{% ifversion fpt or ghec %} When a first-time contributor submits a pull request to a public repository, a maintainer with write access may need to approve running workflows on the pull request. For more information, see "Approving workflow runs from public forks." {% endif %}

{% data reusables.actions.forked-secrets %} The permissions for the GITHUB_TOKEN in forked repositories is read-only. For more information, see "Authenticating with the GITHUB_TOKEN."

{% note %}

Note: Workflows triggered by {% data variables.product.prodname_dependabot %} pull requests are treated as though they are from a forked repository, and are also subject to these restrictions.

{% endnote %}