chore: action

This commit is contained in:
KieSun 2021-03-23 11:33:40 +08:00
parent bbb46d851e
commit bd91ac64d1

View File

@ -1,6 +1,9 @@
const axios = require("axios"); const axios = require("axios");
const { const {
event: { comment }, event: {
comment,
issue: { number },
},
} = JSON.parse(process.env.GITHUB_CONTEXT); } = JSON.parse(process.env.GITHUB_CONTEXT);
const { const {
body, body,
@ -8,7 +11,6 @@ const {
html_url, html_url,
id, id,
user: { avatar_url, login }, user: { avatar_url, login },
issue: { number },
} = comment; } = comment;
const host = process.env.COMMENTHOST; const host = process.env.COMMENTHOST;