فهرست منبع

Limit Crowdin job to Hestia repo onlu

Forks are not allowed to sync up
Jaap Marcus 2 سال پیش
والد
کامیت
02e1953a85
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      .github/workflows/crowdin.yml

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

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