diff --git a/.github/workflows/validate-translation-files.yml b/.github/workflows/validate-translation-files.yml index dc3cf0dc2ec..62f90f150cb 100644 --- a/.github/workflows/validate-translation-files.yml +++ b/.github/workflows/validate-translation-files.yml @@ -20,38 +20,4 @@ jobs: - name: Validate translation files id: validate_translation_files run: | - make validate_translation_files 2>&1 > make_output.txt - - - name: Send failure comment - if: failure() - uses: actions/github-script@v5 - with: - script: | - // const fs = require('fs'); - // const makeOutput = fs.readFileSync('make_output.txt', 'utf8'); - // const comment = 'Test: ' + makeOutput; - - // const comment = ` - // This pull request contains invalid translation files. Please fix the errors and push again. - // - //
Output from `make validate_translation_files` - //\`\`\` - //${makeOutput} - //\`\`\` - //
- // - //This comment was posted by the `validate-translation-files.yml` GitHub workflow. - //`; - github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: context.issue.number, - body: 'Test!', - }); - - // github.rest.issues.addLabels({ - // issue_number: context.issue.number, - // owner: context.repo.owner, - // repo: context.repo.repo, - // labels: ['translations-error'] - // }) + make validate_translation_files