Skip to content

Commit

Permalink
Added octokit parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed Jun 13, 2024
1 parent e1c59da commit bd8a5ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export async function processAndDisplayBuildSummary() {
const data = await readJsonFile(filePath);
const taskSummaryTableRows = getBuildSummaryTable(data);
writeSummary(taskSummaryTableRows);
console.log(process.env.GITHUB_TOKEN);
getWorkflowStepNames(repository as string);
} catch (error) {
console.error('An error occurred while reading the build summary file or adding the build summary table:', error);
Expand All @@ -93,7 +94,7 @@ export function getWorkflowStepNames(repository: string) {

export async function getWorkflowRunJobs(owner: string, repo: string, runId: string) {
// Replace with your GitHub personal access token
console.log(process.env.GITHUB_TOKEN);

const octokit = new Octokit({
auth: process.env.GITHUB_TOKEN,
});
Expand Down

0 comments on commit bd8a5ab

Please sign in to comment.