Skip to content

Merge pull request #123 from MIA-Development-Team/feat/abyss-spawenr-… #196

Merge pull request #123 from MIA-Development-Team/feat/abyss-spawenr-…

Merge pull request #123 from MIA-Development-Team/feat/abyss-spawenr-… #196

Workflow file for this run

name: Localization
on:
push:
branches: [ "main" ]
jobs:
build:
if: github.repository == 'MIA-Development-Team/Made-In-Abyss'
runs-on: ubuntu-latest
permissions:
contents: read
discussions: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '20.x'
- run: npm i --omit=dev
working-directory: .github/scripts
- uses: actions/github-script@v8
with:
script: |
const script = require('./.github/scripts/localization.js')
await script({github, context})
crowdin:
if: github.repository == 'MIA-Development-Team/Made-In-Abyss'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
- name: crowdin action
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: false
download_translations: true
localization_branch_name: l10n/crowdin_translations
create_pull_request: true
pull_request_title: 'chore(l10n): 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'
config: .github/crowdin.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}