Enterprise アカウント の GitHub Actions 権限について
デフォルトでは、Enterprise アカウントが所有するすべての Organization で GitHub Actions が有効です。 Enterprise アカウントが所有するすべての Organization に対して GitHub Actions を無効にすることも、特定の Organization に対して無効にすることもできます。 Organization にあるローカルのアクションだけ利用できるように、パブリックなアクションの利用を制限することもできます。
GitHub Actions に関する詳しい情報については、「GitHub Actions について」を参照してください。
Enterprise アカウント の GitHub Actions 権限の管理
https://github.com/enterprises/ENTERPRISE-NAMEにアクセスして、Enterprise アカウントに移動します。ENTERPRISE-NAMEはあなたの Enterprise アカウント名に置き換えてください。- Enterpriseアカウントのサイドバーで、 Policies(ポリシー)をクリックしてください。

- Under " Policies", click Actions.
- [Policies] で、オプションを選択します。

プライベートリポジトリのフォークのワークフローを有効にする
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 repositories only, you can configure these policy settings for enterprise accounts, organizations, or repositories. For enterprise accounts, the policies are applied to all repositories in all organizations.
- Run workflows from fork pull requests - Allows users to run workflows from fork pull requests, using a
GITHUB_TOKENwith 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_TOKENwith write permission. - Send secrets to workflows from pull requests - Makes all secrets available to the pull request.
Enterprise アカウントのプライベートフォークポリシーを設定する
https://github.com/enterprises/ENTERPRISE-NAMEにアクセスして、Enterprise アカウントに移動します。ENTERPRISE-NAMEはあなたの Enterprise アカウント名に置き換えてください。- Enterpriseアカウントのサイドバーで、 Policies(ポリシー)をクリックしてください。

- Under " Policies", click Actions.
- Under Fork pull request workflows, select your options. 例:

- Click Save to apply the settings.

