mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Refactor Crowdin workflow configuration (#673)
Removed scheduled triggers and pulling translations for Crowdin synchronization in crowdin.yml
This commit is contained in:
1 parent
7d424a00dd
commit
003445e626
1 file changed
+2
-16
@@ -4,35 +4,21 @@ on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths: ['Resources/Lang/en_US.json']
|
||||
schedule:
|
||||
- cron: '20 3 * * *' # 3:20 UTC - launches automatically in mornings (few hours before Gurge wakes up)
|
||||
- cron: '20 15 * * *' # 15:30 UTC - launches automatically in evenings
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
synchronize-with-crowdin:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: crowdin action
|
||||
- name: upload sources to crowdin
|
||||
uses: crowdin/github-action@v2
|
||||
with:
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
download_translations: true
|
||||
localization_branch_name: translation
|
||||
create_pull_request: true
|
||||
pull_request_title: 'New Crowdin Translations'
|
||||
pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)'
|
||||
pull_request_base_branch_name: 'main'
|
||||
download_sources: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
Reference in new issue
Block a user