Skip to content

Commit 02e1953

Browse files
committed
Limit Crowdin job to Hestia repo onlu
Forks are not allowed to sync up
1 parent 7c12c9c commit 02e1953

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/crowdin.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ jobs:
1515
steps:
1616
- name: Checkout code
1717
uses: actions/checkout@v3
18+
if: github.repository == 'hestiacp/hestiacp'
1819
- name: Build hestiacp.pot
20+
if: github.repository == 'hestiacp/hestiacp'
1921
run: |
2022
sudo apt install gettext -y
2123
cd ./web/locale
2224
bash ./hst_scan_i18n.sh
2325
- name: Commit new .pot file
26+
if: github.repository == 'hestiacp/hestiacp'
2427
uses: stefanzweifel/git-auto-commit-action@v4
2528
- name: crowdin action
2629
uses: crowdin/github-action@v1
30+
if: github.repository == 'hestiacp/hestiacp'
2731
with:
2832
upload_sources: true
2933
upload_translations: false

0 commit comments

Comments
 (0)