Skip to content

Commit

Permalink
Update translation check logic (#6955)
Browse files Browse the repository at this point in the history
Update translations-pr.yml

Signed-off-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com>
  • Loading branch information
bmuenzenmeyer authored Jul 31, 2024
1 parent c84b916 commit 7dabdc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/translations-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ permissions:

jobs:
comment_on_translation_pr:
# This comment should only be posted on PRs that come from users and not from Crowdin
# This comment should always be posted on forks, or from internal PRs not originating from Crowdin (which are direct branches)
if: |
github.event.pull_request.head.repo.full_name == 'nodejs/nodejs.org' &&
github.event.pull_request.head.ref != 'chore/crowdin'
(github.event.pull_request.head.repo.full_name != 'nodejs/nodejs.org') ||
(github.event.pull_request.head.repo.full_name == 'nodejs/nodejs.org' && github.event.pull_request.head.ref != 'chore/crowdin')
name: Comment on Translation PR
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7dabdc3

Please sign in to comment.