chore(ci): tweak i18n workflows

This commit is contained in:
Gabe Kangas
2025-01-19 13:20:32 -08:00
parent 5e64b6ea41
commit ce976a5f0b
2 changed files with 16 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ name: Translation job
on:
schedule:
# Run the workflow every hour
- cron: "0 * * * *"
- cron: '0 * * * *'
push:
paths:
- 'web/i18n/en/translation.json'
@@ -51,12 +51,12 @@ jobs:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: Owncast
author_email: owncast@owncast.online
message: 'Commit updated translations'
add: 'web/i18n/**'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Commit changes
# uses: EndBug/add-and-commit@v9
# with:
# author_name: Owncast
# author_email: owncast@owncast.online
# message: 'Commit updated translations'
# add: 'web/i18n/**'
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}