Skip to content

GitHub App for setting up better codeowner pings #31

@infinisil

Description

@infinisil

I need a GitHub App to implement NixOS/nixpkgs#336261, because the standard GitHub Action tokens don't have sufficient permissions.

Instructions:

  • Create new App (direct link)
    • Name: Nix Owners
    • Homepage URL: https://github.com/NixOS/nixpkgs
    • Disable Webhooks
    • Permissions:
      • Repository > Pull Requests: read-write (to request reviews)
      • Repository > Administration: read-only (indirectly needed to check whether a review can be requested)
      • Organization > Members: read-only (indirectly needed to check whether a review can be requested)
  • Install the App on the NixOS, give it access to only https://github.com/nixos/nixpkgs
  • Set the App ID as a new repository variable (direct link) named OWNER_APP_ID
  • Generate a private key for the App and set it as a new repository secret (direct link) named OWNER_APP_PRIVATE_KEY

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions