Skip to main content

Get a user

GitHub get a user action to retrieve the public profile for a specific GitHub user by username. This is a read-only action that returns publicly available profile information for any GitHub account.

Prerequisites

  • Your admin must install and configure the GitHub connector, add the GitHub actions pack under Admin > Actions, and enable this action.

  • A GitHub app must be installed on the relevant organization(s) and linked to the correct GitHub datasource in the Glean admin console.

Supported parameters

ParameterTypeRequiredDescription
UsernameStringYesThe GitHub username whose public profile you want to retrieve.

Usage examples

  • "Look up the GitHub profile for user 'abc' and show me their bio and location."

  • "What is the follower count for GitHub user 'abc'?"

  • "Show me the public profile information for 'octocat'."

Troubleshooting

FAQs