Skip to content

allowing multiple repo checks and push#1

Open
kdsbatra wants to merge 21 commits intohollisjamison:mainfrom
kdsbatra:multiple_repo_push
Open

allowing multiple repo checks and push#1
kdsbatra wants to merge 21 commits intohollisjamison:mainfrom
kdsbatra:multiple_repo_push

Conversation

@kdsbatra
Copy link

@kdsbatra kdsbatra commented Jul 8, 2021

No description provided.

studentList.js Outdated
{ github: "larocque-m", slack: "U01NECKHL4E" },
{ github: "markh82581", slack: "U01NMC0GUV9" },
{ github: "marnie-k", slack: "U01NMC0GUV9" },
{ github: "kdsbatra", slack: "U0246KNS2KB" },
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe make this part of git ignore? or have a file by bootcamp date/name?

let {
repoDetails
} = require("./repos.js");

Copy link
Author

@kdsbatra kdsbatra Jul 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added repos as part of a new file instead of env file.

index.js Outdated
//const assignments = JSON.parse(dotenv.parse(Buffer.from(process.env.ASSIGNMENTS), opt)["REPOS"]);
const token = process.env.TOKEN;
const githubUser = process.env.USERNAME;
const githubUser = process.env.GITUSER;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in windows this caused issues, so renamed the env variable.

index.js Outdated
}
console.log(`\x1b[31m ${student.github} has not made their '${repoName}' repo yet.` + (slackAlert ? ' Alert sent.' : ''));
if (failureCallBack) {
failureCallBack();
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used so can probably remove this failure callback.

@kdsbatra kdsbatra changed the title allowing multiple repo push allowing multiple repo checks and push Jul 8, 2021
@kdsbatra
Copy link
Author

kdsbatra commented Jul 8, 2021

Readme.md file still to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant