mirror of
https://github.com/KieSun/all-of-frontend.git
synced 2024-11-23 15:28:14 +08:00
chore: action
This commit is contained in:
parent
bbb46d851e
commit
bd91ac64d1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user