From f159ad873cf153415fec703038bbf9093df5aaee Mon Sep 17 00:00:00 2001 From: "Nicholas Carrigan (he/him)" Date: Fri, 15 Jan 2021 15:12:02 -0800 Subject: [PATCH] fix(tools): adjust comment message (#40711) * fix: adjust comment message Changes the message this action uses for a PR comment to remove the reference to the translation page pending announcement. Signed-off-by: nhcarrigan * fix: expand comment Signed-off-by: nhcarrigan --- .github/workflows/no-prs-to-translation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/no-prs-to-translation.yml b/.github/workflows/no-prs-to-translation.yml index 012af4c09a..1588ed5bf5 100644 --- a/.github/workflows/no-prs-to-translation.yml +++ b/.github/workflows/no-prs-to-translation.yml @@ -20,6 +20,6 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: 'You appear to be adding/modifying/deleting non-English curriculum files directly on GitHub. If you are trying to make translation changes to a curriculum challenge file, please visit https://translate.freecodecamp.org/curriculum instead.' + body: 'We have implemented a new policy of no longer accepting curriculum-related PRs with changes to non-English files. We plan to implement a better way to translate the English challenges in the near future. We will make an announcement when it is ready. For now, please revert your changes to the non-English challenge files. Thank you.' }) - throw "You appear to be translating files directly on GitHub. Please visit https://translate.freecodecamp.org instead." + throw new Error('This PR appears to touch translated challenge files.')