Skip to content

Feature Request: Support looking up GH App installation ID through the GH owner #1065

@matheuscscp

Description

@matheuscscp

It's easier for Flux users if they don't have to look up the GH App installation ID. There aren't good GH docs on this, the best you get googling for it is the following:

https://www.google.com/search?q=github+app+installation+id&oq=github+app+installation+id&gs_lcrp=EgZjaHJvbWUyCQgAEEUYORiABDIICAEQABgWGB4yCAgCEAAYFhgeMggIAxAAGBYYHjIICAQQABgWGB4yBggFEEUYPDIGCAYQRRhAMgYIBxBFGEDSAQgzODA3ajBqN6gCALACAA&sourceid=chrome&ie=UTF-8

https://stackoverflow.com/questions/74462420/where-can-we-find-github-apps-installation-id

So we can introduce a new Secret key called githubAppInstallationOwner and, if that's set instead of githubAppInstallationID, we look up the installation ID using the owner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/gitGit and SSH related issues and pull requestsarea/securitySecurity related issues and pull requestsarea/uxIn pursuit of a delightful user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions