Skip to content

Replace PAT usage with GitHub App Tokens #17294

Open
@carlocab

Description

Verification

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.

Metadata

Assignees

No one assigned

    Labels

    featuresNew featureshelp wantedWe want help addressing this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions