Skip to content

Commit c8f6137

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! feat: validate po files on pull_request
1 parent 5a6efb4 commit c8f6137

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

.github/workflows/validate-translation-files.yml

+1-35
Original file line numberDiff line numberDiff line change
@@ -20,38 +20,4 @@ jobs:
2020
- name: Validate translation files
2121
id: validate_translation_files
2222
run: |
23-
make validate_translation_files 2>&1 > make_output.txt
24-
25-
- name: Send failure comment
26-
if: failure()
27-
uses: actions/github-script@v5
28-
with:
29-
script: |
30-
// const fs = require('fs');
31-
// const makeOutput = fs.readFileSync('make_output.txt', 'utf8');
32-
// const comment = 'Test: ' + makeOutput;
33-
34-
// const comment = `
35-
// This pull request contains invalid translation files. Please fix the errors and push again.
36-
//
37-
//<details><summary>Output from `make validate_translation_files`</summary>
38-
//\`\`\`
39-
//${makeOutput}
40-
//\`\`\`
41-
//</details>
42-
//
43-
//This comment was posted by the `validate-translation-files.yml` GitHub workflow.
44-
//`;
45-
github.rest.issues.createComment({
46-
owner: context.repo.owner,
47-
repo: context.repo.repo,
48-
issue_number: context.issue.number,
49-
body: 'Test!',
50-
});
51-
52-
// github.rest.issues.addLabels({
53-
// issue_number: context.issue.number,
54-
// owner: context.repo.owner,
55-
// repo: context.repo.repo,
56-
// labels: ['translations-error']
57-
// })
23+
make validate_translation_files

0 commit comments

Comments
 (0)