Skip to content

Commit c4b4005

Browse files
authored
Merge pull request #729 from newfold-labs/press11-154
Add i18n-update workflow to automate the i18n source file generation and updation.
2 parents 65fbf51 + 7e78003 commit c4b4005

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/i18n-update.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: i18n Update Action
2+
3+
on:
4+
push:
5+
branches:
6+
- 'trunk'
7+
workflow_dispatch: # Allows manual trigger with a branch input
8+
inputs:
9+
base_branch:
10+
description: 'Base branch for the pull request'
11+
required: false
12+
default: 'trunk'
13+
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
18+
jobs:
19+
call-i18n-update:
20+
uses: newfold-labs/workflows/.github/workflows/i18n-update.yml@main
21+
with:
22+
base_branch: ${{ inputs.base_branch || github.ref_name }}
23+
secrets:
24+
NEWFOLD_ACCESS_TOKEN: ${{ secrets.NEWFOLD_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)