Skip to main content

Star a repository for the authenticated user

GitHub star a repository for the authenticated user tool to star a GitHub repository on behalf of the authenticated user. This is a write tool that programmatically adds a star to a repository, marking it as a favorite or important for later reference.

Prerequisites

  • Your admin must install and configure the GitHub connector, add GitHub tools under Admin ConsolePlatform → Tools, and enable this tool.

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

  • The GitHub app must have the necessary permissions to star repositories on behalf of users.

Supported parameters

ParameterTypeDescription
OwnerStringThe owner of the target GitHub repository (user or organization).
RepositoryStringThe name of the target GitHub repository to star.

Usage examples

  • "Star the 'react' repository from 'facebook' on GitHub so I can keep track of it for my frontend project."

  • "Add a star to the 'tensorflow/tensorflow' repository."

  • "Star the 'microsoft/vscode' repository for later reference."

Troubleshooting

FAQs