chore: Don't run crowdin workflow on forks (#4790)

This commit is contained in:
Jan Katins 2023-01-04 10:31:25 +01:00 committed by GitHub
parent e47ea57db2
commit 4fa7395c9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ jobs:
trigger_crowdin_tm: trigger_crowdin_tm:
name: Crowdin Translation Memory Trigger name: Crowdin Translation Memory Trigger
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Prevent this workflow from running (and failing) on forks
if: github.repository == 'starship/starship'
steps: steps:
- uses: starship/crowdin-pretranslate-action@v0.1.1 - uses: starship/crowdin-pretranslate-action@v0.1.1
with: with: