Skip to content

Commit 826dfbc

Browse files
committed
Change i18n update github action to use trunk instead of main
1 parent c2bfdf2 commit 826dfbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/i18n-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: i18n Update Action
33
on:
44
push:
55
branches:
6-
- main # Trigger when code is merged into main
6+
- trunk # Trigger when code is merged into main
77
workflow_dispatch: # Allows manual trigger with a branch input
88
inputs:
99
base_branch:
1010
description: "Base branch for the pull request"
1111
required: false
12-
default: "main"
12+
default: "trunk"
1313

1414
permissions:
1515
contents: write
@@ -19,6 +19,6 @@ jobs:
1919
call-i18n-update:
2020
uses: newfold-labs/workflows/.github/workflows/i18n-update.yml@main
2121
with:
22-
base_branch: ${{ inputs.base_branch || github.event.repository.default_branch || 'trunk' }}
22+
base_branch: ${{ inputs.base_branch || github.ref_name }}
2323
secrets:
2424
NEWFOLD_ACCESS_TOKEN: ${{ secrets.NEWFOLD_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)