Skip to content

Commit

Permalink
action.cjs: include filtered diff in the watermark
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Dec 17, 2024
1 parent e1da98e commit 6998aeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ module.exports = async ({ github, context, inputs, actionPath }) => {
: `openai debug - ${watermark}`
}

watermark = `<details><summary>${watermark}</summary>` + '\n\n\n```' + filteredPatch + '\n\n\n```</details>'

await submitReview({
owner: options.owner,
repo: options.repo,
Expand Down

0 comments on commit 6998aeb

Please sign in to comment.