Skip to content

Commit

Permalink
fix: debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianKuesters committed Mar 25, 2024
1 parent 89cf3ee commit 664bbd3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,21 @@ async function run() {
}

// Update project
core.info(`Project number: ${projectNumber}`);
core.info(`Project status column name: ${projectStatusColumnName}`);
core.info(`Issues: ${issues.map((issue) => issue.number).join(", ")}`);

core.info(`Debug: ${projectNumber && projectStatusColumnName}`);
if (projectNumber && projectStatusColumnName) {
core.info(
`Updating project ${projectNumber} with status ${projectStatusColumnName}`
);
const parsedProjectNumber = parseInt(projectNumber);

for (const issue of issues) {
core.info(
`Updating project card of issue ${issue.number} with status ${projectStatusColumnName}`
);
await gitHubProjectsUtils.updateProjectField(
parsedProjectNumber,
issue.number,
Expand Down

0 comments on commit 664bbd3

Please sign in to comment.