Просмотр исходного кода

Limit Crowdin job to Hestia repo onlu

Forks are not allowed to sync up
Jaap Marcus 2 лет назад
Родитель
Сommit
02e1953a85
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      .github/workflows/crowdin.yml

+ 4 - 0
.github/workflows/crowdin.yml

@@ -15,15 +15,19 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@v3
+        if: github.repository == 'hestiacp/hestiacp'
       - name: Build hestiacp.pot
+        if: github.repository == 'hestiacp/hestiacp'
         run: |
           sudo apt install gettext -y
           cd ./web/locale
           bash ./hst_scan_i18n.sh
       - name: Commit new .pot file
+        if: github.repository == 'hestiacp/hestiacp'
         uses: stefanzweifel/git-auto-commit-action@v4
       - name: crowdin action
         uses: crowdin/github-action@v1
+        if: github.repository == 'hestiacp/hestiacp'
         with:
           upload_sources: true
           upload_translations: false