Skip to content

Commit 3ddc58b

Browse files
authored
ci: allow commit_all_dirty in build (#4772)
1 parent 4cfd11a commit 3ddc58b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/REUSABLE_frontend.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ on:
3333
type: string
3434
required: false
3535
default: test
36+
commit_all_dirty:
37+
description: "Set to `true` to commit all file changes, not just files in the dist JS directory."
38+
type: boolean
39+
required: false
40+
default: false
3641

3742
enable_bundlewatch:
3843
description: "Enable Bundlewatch?"
@@ -170,6 +175,7 @@ jobs:
170175
package_manager: ${{ inputs.js_package_manager }}
171176
js_path: ${{ inputs.frontend_directory }}
172177
do_not_commit: ${{ github.ref != format('refs/heads/{0}', inputs.main_git_branch) || github.event_name != 'push' }}
178+
commit_all_dirty: ${{ inputs.commit_all_dirty }}
173179
git_actor_name: ${{ inputs.git_actor_name || '' }}
174180
git_actor_email: ${{ inputs.git_actor_email || '' }}
175181

0 commit comments

Comments
 (0)