Star a repository for the authenticated user
GitHub star a repository for the authenticated user action to star a GitHub repository on behalf of the authenticated user. This is a write action 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 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.
-
The GitHub app must have the necessary permissions to star repositories on behalf of users.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Owner | String | The owner of the target GitHub repository (user or organization). |
| Repository | String | The 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."