Skip to content

Commit

Permalink
add comment input, fix #7
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Oct 8, 2023
1 parent a10e2e1 commit d3e5915
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ inputs:
commit-message:
description: 'The commit message to use when fixing a commit.'
required: false
commment:
description: 'Add a custom comment to the PR when fixing a commit.'
required: false
outputs:
autofix_started:
description: |
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ async function run() {
version: 1,
changes: fileChanges,
failFast: core.getInput("fail-fast") === "true",
comment: core.getInput("comment") || undefined,
commitMessage: core.getInput("commit-message") || undefined,
}));
await client.uploadArtifact("autofix.ci", [filename], ".", {
Expand Down

0 comments on commit d3e5915

Please sign in to comment.