Skip to content

Commit 63d652d

Browse files
committed
feat: mention author
1 parent 542d3c7 commit 63d652d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/non-english-warning.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
script: |
3030
const prNumber = context.issue.number;
3131
const repo = context.repo;
32+
const prAuthor = context.payload.pull_request.user.login;
3233
await github.rest.issues.addLabels({
3334
...repo,
3435
issue_number: prNumber,
@@ -37,7 +38,7 @@ jobs:
3738
await github.rest.issues.createComment({
3839
...repo,
3940
issue_number: prNumber,
40-
body: `Thank you for your contribution!
41+
body: `Thank you for your contribution, @${prAuthor}!
4142
All updates to non-English content must be handled through Crowdin.
4243
We value your suggestion and request that you learn more about how to [help us translate](https://ethereum.org/en/contributing/translation-program/#help-us-translate), and suggest these updates directly in [our Crowdin project](https://crowdin.com/project/ethereum-org) where they can be properly reviewed.
4344
Please join [our Discord](https://ethereum.org/discord) if you have questions!`

0 commit comments

Comments
 (0)