Skip to content

Commit

Permalink
Merge pull request #16 from wemogy/main
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
SebastianKuesters authored Mar 25, 2024
2 parents be95224 + 664bbd3 commit 68c74ad
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 68c74ad

Please sign in to comment.