1
0
mirror of synced 2026-01-06 15:01:04 -05:00

Update data/reusables/github-actions/private-repository-forks-overview.md

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
This commit is contained in:
Jules Parker
2021-11-29 09:09:27 +01:00
committed by GitHub
parent 236a831f42
commit aeffbdd427

View File

@@ -1,4 +1,4 @@
If you rely on using forks of your private repositories, you can configure policies that control how users can run workflows on `pull_request` events. Available to private {% if internal-repositories %}and internal{% endif %} repositories only, you can configure these policy settings for {% ifversion ghec or ghes or ghae %}enterprises, {% endif %}organizations, or repositories.{% ifversion ghec or ghes or ghae %} For enterprises, the policies are applied to all repositories in all organizations.{% endif %}
If you rely on using forks of your private repositories, you can configure policies that control how users can run workflows on `pull_request` events. Available to private {% ifversion ghec or ghes or ghae %}and internal{% endif %} repositories only, you can configure these policy settings for {% ifversion ghec %}enterprises, {% elsif ghes or ghae %}your enterprise, {% endif %}organizations, or repositories.{% ifversion ghec or ghes or ghae %} For enterprises, the policies are applied to all repositories in all organizations.{% endif %}
- **Run workflows from fork pull requests** - Allows users to run workflows from fork pull requests, using a `GITHUB_TOKEN` with read-only permission, and with no access to secrets.
- **Send write tokens to workflows from pull requests** - Allows pull requests from forks to use a `GITHUB_TOKEN` with write permission.