Added Joke and summary in bullet point

This commit is contained in:
Bhavik MacBook PRO 16 2023-05-07 06:23:03 +05:30
parent 2d91f8d6ba
commit 9f57ed91c6
4 changed files with 3 additions and 8 deletions

View file

@ -54,11 +54,6 @@ ${code}
${answer} ${answer}
### Funny Joke about this PR:
${joke}'
runs: runs:
using: 'node16' using: 'node16'
main: 'dist/index.js' main: 'dist/index.js'

2
dist/index.js vendored
View file

@ -39362,7 +39362,7 @@ async function run() {
})); }));
const answer = response.data.choices[0].message.content + '/n/n/n' + responseJoke.data.choices[0].message.content; const answer = response.data.choices[0].message.content + '/n/n' + '### Funny Joke about this PR:' +'/n/n' + responseJoke.data.choices[0].message.content;
core.debug(`openai response: ${answer}`); core.debug(`openai response: ${answer}`);
if(sourceAt === 'github') { if(sourceAt === 'github') {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -176,7 +176,7 @@ async function run() {
})); }));
const answer = response.data.choices[0].message.content + '/n/n/n' + responseJoke.data.choices[0].message.content; const answer = response.data.choices[0].message.content + '/n/n' + '### Funny Joke about this PR:' +'/n/n' + responseJoke.data.choices[0].message.content;
core.debug(`openai response: ${answer}`); core.debug(`openai response: ${answer}`);
if(sourceAt === 'github') { if(sourceAt === 'github') {