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 20, 2023
1 parent 8dc1094 commit 7fd99ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/validate-translation-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@ 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 posting a comment isn't possible on fork pull requests.
# This shouldn't be an issue, because bots writes directly to this repository.
if: ${{ always() && !github.event.pull_request.head.repo.fork }}
uses: mshick/add-pr-comment@7c0890544fb33b0bdd2e59467fbacb62e028a096
with:
message: |
Expand Down

0 comments on commit 7fd99ff

Please sign in to comment.