Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Menu: Set GitHub Status with Octokit
// Description: Sets the status text on your GitHub Profile
const { Octokit } = await npm("scriptkit-octokit");
const octokit = new Octokit({
auth: {
scopes: ["user"],
await octokit.graphql(
`mutation ($text:String) {
changeUserStatus(input:{message:$text}) {
status {
text: await arg("What would you like to say?"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment