Commit c8f6137 1 parent 5a6efb4 commit c8f6137 Copy full SHA for c8f6137
File tree 1 file changed +1
-35
lines changed
1 file changed +1
-35
lines changed Original file line number Diff line number Diff line change 20
20
- name : Validate translation files
21
21
id : validate_translation_files
22
22
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
You can’t perform that action at this time.
0 commit comments