fix: add conditional check for repository owner in Crowdin workflow (… #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to Crowdin | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
push-to-crowdin: | |
if: github.repository_owner == 'PreMiD' | |
name: Push to Crowdin | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: crowdin/github-action@v2 | |
with: | |
upload_sources: true | |
upload_translations: false | |
download_translations: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CROWDIN_PROJECT_ID: 369101 | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |