Skip to content

Commit

Permalink
fix: allow merging forks pull requests
Browse files Browse the repository at this point in the history
the comment step is failing and causing pull requests from forks
to be unmergeable
  • Loading branch information
OmarIthawi committed Oct 19, 2023
1 parent f6fd2d8 commit 6b19bd0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/validate-translation-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
# 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()
if: ${{ always() && ! github.event.pull_request.fork }}
uses: mshick/add-pr-comment@7c0890544fb33b0bdd2e59467fbacb62e028a096
with:
issue-number: ${{ github.event.pull_request.number }}
message: |
:white_check_mark: All translation files are valid.
Expand Down

0 comments on commit 6b19bd0

Please sign in to comment.