1
0
mirror of synced 2026-01-06 06:02:35 -05:00

Merge branch 'main' into add-no-response-workflow

This commit is contained in:
Lee Dohm
2021-04-07 15:05:28 -07:00
committed by GitHub
27 changed files with 199 additions and 132 deletions

View File

@@ -35,11 +35,15 @@ jobs:
var column_id = 13445681;
try {
github.projects.createCard({
await github.projects.createCard({
column_id: column_id,
content_id: context.payload.pull_request.id,
content_type: "PullRequest"
});
} catch (error) {
console.log(error);
if (error.includes('Project already has the associated issue')) {
return
} else {
console.log(error);
}
}