Skip to content

Commit 4b013ef

Browse files
authored
feat: add commit author inputs to GitHub Action (#1566)
Add commit-author-name and commit-author-email inputs to action.yml. These map to the CLI options added in PR #1565. Users can now customize the git author for commits made by Lingo.dev in CI: with: commit-author-name: 'Custom CI' commit-author-email: 'ci@company.com' Both inputs default to current behavior (Lingo.dev/support@lingo.dev) for full backward compatibility. Requires: CLI version with #1565 merged (available on npm)
1 parent 0a6850d commit 4b013ef

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ runs:
1616
--pull-request "${{ inputs.pull-request }}" \
1717
--commit-message "${{ inputs.commit-message }}" \
1818
--pull-request-title "${{ inputs.pull-request-title }}" \
19+
--commit-author-name "${{ inputs.commit-author-name }}" \
20+
--commit-author-email "${{ inputs.commit-author-email }}" \
1921
--working-directory "${{ inputs.working-directory }}" \
2022
--process-own-commits "${{ inputs.process-own-commits }}" \
2123
--parallel ${{ inputs.parallel }}
@@ -40,6 +42,14 @@ inputs:
4042
description: "Pull request title"
4143
default: "feat: update translations via @LingoDotDev"
4244
required: false
45+
commit-author-name:
46+
description: "Git commit author name"
47+
default: "Lingo.dev"
48+
required: false
49+
commit-author-email:
50+
description: "Git commit author email"
51+
default: "support@lingo.dev"
52+
required: false
4353
working-directory:
4454
description: "Working directory"
4555
default: "."

0 commit comments

Comments
 (0)