Skip to content

Commit

Permalink
CI: Add action to update Crowdin locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Vainock committed Apr 20, 2024
1 parent b4f724a commit 43b41f7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/update-crowdin-locales.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Update Locales on Crowdin 🇺🇸
on:
push:
branches:
- master
paths:
- "**/en-US.ini"
jobs:
upload-language-files:
name: Update Locales on Crowdin 🇺🇸
if: github.repository_owner == 'obsproject'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
repository: obsproject/obs-studio
fetch-depth: 50
submodules: recursive
- name: Update Locales on Crowdin 🇺🇸
uses: ./.github/actions/update-crowdin-locales
env:
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }}
GITHUB_EVENT_BEFORE: ${{ github.event.before }}
SUBMODULE_NAME: obs-browser

0 comments on commit 43b41f7

Please sign in to comment.