From the code I see that the Octokit constructor is invoked using personal userAgent.
function createOctokitInstance(token) {
return token
? new Octokit({
auth: `token ${token}`,
userAgent: "ginxo/chain-status"
})
: new Octokit({
userAgent: "ginxo/chain-status"
});
}
I suggest to add this as cli/gha argument since as the Octokit doc recommend we should set it to the application using it.
From the code I see that the Octokit constructor is invoked using personal
userAgent.I suggest to add this as cli/gha argument since as the Octokit doc recommend we should set it to the application using it.