Install set-github-status

//Shortcut: command shift -
// Menu: Set GitHub Status
// Description: Sets the status text on your GitHub Profile
const message = await arg("What would you like to say?");
const token = await env("GITHUB_STATUS_TOKEN", {
secret: true,
ignoreBlur: true,
hint: md(
`Create a token [on GitHub](https://github.com/settings/tokens/new?scopes=user&description=kit%20script)`
),
});
const response = await post(
"https://api.github.com/graphql",
{
query: `mutation ($text:String) {
changeUserStatus(input:{message:$text}) {
status {
message
}
}
}`,
variables: {
text: message,
},
},
{
headers: {
authorization: `token ${token}`,
},
}
);