Skip to content

Commit 6e689e6

Browse files
lemurra_microsoftlemurra_microsoft
lemurra_microsoft
authored and
lemurra_microsoft
committed
Enhance SVGO warning message in PR workflow to include issue number
1 parent ffabd60 commit 6e689e6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/svgo-pr-message.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ jobs:
2424
body: '⚠️ Please ensure all SVG files are optimized using SVGO, by running `npm run svgo`, before merging this pull request.'
2525
};
2626
27-
await github.issues.createComment(comment);
27+
await github.issues.createComment({
28+
...comment,
29+
issue_number: issue_number
30+
});
31+
32+
name: Add SVGO Warning to PRs
33+

0 commit comments

Comments
 (0)