* feat: translation review by @LingoDotDev team * feat: enable @LingoDotDev concurrency * feat: translation review by @lingodotdev team
39 lines
1008 B
YAML
39 lines
1008 B
YAML
name: Run i18n AI automation
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
concurrency:
|
|
group: ${{ github.workflow }}-main
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
i18n:
|
|
name: Run i18n
|
|
runs-on: blacksmith-2vcpu-ubuntu-2404
|
|
permissions:
|
|
actions: write
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Generate GitHub App token
|
|
id: generate-token
|
|
uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94
|
|
with:
|
|
app-id: ${{ secrets.CI_CAL_APP_ID }}
|
|
private-key: ${{ secrets.CI_CAL_APP_PRIVATE_KEY }}
|
|
repositories: 'cal.com'
|
|
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: 'npm'
|
|
- uses: lingodotdev/lingo.dev@main
|
|
env:
|
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
|
with:
|
|
api-key: ${{ secrets.CI_LINGO_DOT_DEV_API_KEY }}
|
|
pull-request: true
|
|
parallel: true
|