diff --git a/action.cjs b/action.cjs index 4137175..bde4dc7 100644 --- a/action.cjs +++ b/action.cjs @@ -108,7 +108,7 @@ module.exports = async ({ github, context, inputs, actionPath }) => { : `openai debug - ${watermark}` } - const header = options.include_diff + const header = options.include_diff || context.actor.endsWith('[bot]') ? '
Diff\n\n```diff\n\n' + filteredPatch + '\n\n```\n\n
' : ''