Skip to content

Commit 69570b4

Browse files
authored
Fix workflow (#18464)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
1 parent 40bd80f commit 69570b4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/send-crowdin-prs-to-boards.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
try {
2020
await github.projects.createCard({
2121
column_id: squadBoardColumnId,
22-
content_id: context.payload.issue.id,
23-
content_type: "Issue"
22+
content_id: context.payload.pull_request.id,
23+
content_type: "PullRequest"
2424
});
2525
} catch (error) {
2626
console.log(error);
@@ -30,8 +30,8 @@ jobs:
3030
try {
3131
await github.projects.createCard({
3232
column_id: prBoardColumnId,
33-
content_id: context.payload.issue.id,
34-
content_type: "Issue"
33+
content_id: context.payload.pull_request.id,
34+
content_type: "PullRequest"
3535
});
3636
} catch (error) {
3737
console.log(error);

0 commit comments

Comments
 (0)