Skip to content

Commit

Permalink
hotfix: don't warn on workflow_run events
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuenzenmeyer committed Dec 6, 2024
1 parent 91be9ec commit be8ad11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/translations-pr-lint-and-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
comment_on_translation_pr:
# This comment should always be posted on forks, or from internal PRs not originating from Crowdin (which are direct branches)
if: |
(github.event_name == 'workflow_run' && github.event.workflow_run.head_commit.message != 'chore: synced translations from crowdin') ||
(github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != 'nodejs/nodejs.org') ||
(github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name == 'nodejs/nodejs.org' && github.event.pull_request.head.ref != 'chore/crowdin')
Expand Down

0 comments on commit be8ad11

Please sign in to comment.