Skip to content

Commit

Permalink
feat: require the validation comment on non-fork PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Oct 19, 2023
1 parent 366f54c commit 3a0a9fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/validate-translation-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:
exit $has_validation_errors
# Due to GitHub Actions security reasons this will not work on fork pull requests.
# This shouldn't be an issue, because bots writes directly to this repository.
- name: Post translation validation results as a comment
if: always()
continue-on-error: true # Don't fail the build if posting the comment fails on fork pull requests.
# Due to GitHub Actions security reasons this will not work on fork pull requests.
# This shouldn't be an issue, because bots writes directly to this repository.
# Don't attempt comment fails on fork pull requests.
if: ${{ always() && !github.event.pull_request.head.repo.fork }}
uses: mshick/add-pr-comment@7c0890544fb33b0bdd2e59467fbacb62e028a096
with:
message: |
Expand Down

0 comments on commit 3a0a9fd

Please sign in to comment.