提交 6a8fc290 编写于 作者: sinat_25235033's avatar sinat_25235033

fix opened status when issue

上级 223c7608
此差异由.gitattributes 抑制。
此差异由.gitattributes 抑制。
...@@ -9,7 +9,7 @@ async function run(): Promise<void> { ...@@ -9,7 +9,7 @@ async function run(): Promise<void> {
try { try {
if ( if (
(github.context.eventName !== 'issue_comment' && github.context.eventName != 'issues') || (github.context.eventName !== 'issue_comment' && github.context.eventName != 'issues') ||
github.context.payload.action !== 'created' (github.context.payload.action !== 'created' && github.context.payload.action !== 'opened')
) { ) {
core.setFailed( core.setFailed(
`The status of the action must be created on issue_comment, no applicable - ${github.context.payload.action} on ${github.context.eventName}, return` `The status of the action must be created on issue_comment, no applicable - ${github.context.payload.action} on ${github.context.eventName}, return`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册