Open
Description
Verification
- This issue's title and/or description do not reference a single formula e.g.
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
Provide a detailed description of the proposed feature
We should replace usage of PATs (e.g. HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN
) with GitHub App tokens. We can use this action to simplify its usage: https://github.com/actions/create-github-app-token
What is the motivation for the feature?
GitHub App tokens are ephemeral, which limits the blast radius when they get leaked.
How will the feature be relevant to at least 90% of Homebrew users?
This will make our CI more secure, which is relevant to 100% of Homebrew users.
What alternatives to the feature have been considered?
Continuing to use PATs.