refactor: fix GitHub capitalization (#2232)

This commit is contained in:
Frieder Bluemle
2022-10-26 07:41:59 -07:00
committed by GitHub
parent 8e3147014c
commit 199870aa9f
11 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export const getRepoInfo = (ctx) => {
/**
* Retrieve github token and throw error if it is not found.
*
* @returns {string} Github token.
* @returns {string} GitHub token.
*/
export const getGithubToken = () => {
const token = getInput("github_token") || process.env.GITHUB_TOKEN;
+1 -1
View File
@@ -92,7 +92,7 @@ const isPreviewComment = (inputs, comment) => {
* @param {number} issueNumber Issue number.
* @param {string} repo Repository name.
* @param {string} owner Owner of the repository.
* @returns {Object} The Github comment object.
* @returns {Object} The GitHub comment object.
*/
const findComment = async (octokit, issueNumber, owner, repo, commenter) => {
const parameters = {
+1 -1
View File
@@ -5,7 +5,7 @@ set -e
export BRANCH_NAME=updated-theme-readme
git --version
git config --global user.email "no-reply@githubreadmestats.com"
git config --global user.name "Github Readme Stats Bot"
git config --global user.name "GitHub Readme Stats Bot"
git branch -d $BRANCH_NAME || true
git checkout -b $BRANCH_NAME
git add --all