Skip to content

Commit 3c88176

Browse files
feat: allow to pass custom git actor to action-build
1 parent 3a45ebc commit 3c88176

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/REUSABLE_frontend.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@ on:
9292
required: false
9393
default: 'ubuntu-latest'
9494

95+
git_actor_name:
96+
description: The name of the git actor to use for the bundled JS output.
97+
type: string
98+
required: false
99+
git_actor_email:
100+
description: The email of the git actor to use for the bundled JS output.
101+
type: string
102+
required: false
103+
95104
secrets:
96105
bundlewatch_github_token:
97106
description: The GitHub token to use for Bundlewatch.
@@ -154,6 +163,8 @@ jobs:
154163
package_manager: ${{ inputs.js_package_manager }}
155164
js_path: ${{ inputs.frontend_directory }}
156165
do_not_commit: ${{ github.ref != format('refs/heads/{0}', inputs.main_git_branch) || github.event_name != 'push' }}
166+
git_actor_name: ${{ inputs.git_actor_name || '' }}
167+
git_actor_email: ${{ inputs.git_actor_email || '' }}
157168

158169
- name: Check bundle size change
159170
if: ${{ inputs.enable_bundlewatch }}

0 commit comments

Comments
 (0)