Skip to content

Commit 89762f9

Browse files
authored
add commit message customization (#5)
1 parent 8bc0625 commit 89762f9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ inputs:
1111
description: 'Cancel all other workflows associated with a commit when fixing it.'
1212
required: false
1313
default: 'true'
14+
commit-message:
15+
description: 'The commit message to use when fixing a commit.'
16+
required: false

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ async function run() {
7272
version: 1,
7373
changes: fileChanges,
7474
failFast: core.getInput("fail-fast") === "true",
75+
commitMessage: core.getInput("commit-message") || undefined,
7576
}));
7677
await client.uploadArtifact("autofix.ci", [filename], ".", {
7778
continueOnError: false,

0 commit comments

Comments
 (0)