Skip to content

Commit c62d1fd

Browse files
authored
Merge pull request #181 from newfold-labs/press11-154
Add i18n-update workflow to automate the i18n source file generation and updation.
2 parents 7cd4c4f + 3321687 commit c62d1fd

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+
- main # Trigger when code is merged into main
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: "main"
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 }}
23+
secrets:
24+
NEWFOLD_ACCESS_TOKEN: ${{ secrets.NEWFOLD_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)