Skip to content

Commit

Permalink
chore: update auto close issue workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Nov 28, 2024
1 parent 76c4cfe commit 38c9155
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto_close_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ jobs:
这个 issue 已经被关闭,因为 **它是无效的**。
token: ${{ secrets.GITHUB_TOKEN }}
- name: Warning Bad Issue
if: ${{ github.event.label.name == 'Bad' }}
if: ${{ github.event.label.name == 'Need Improvement' }}
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: >
This issue has been marked as **Bad**. Please provide more information, or use the standard format, otherwise it will be closed soon.
Please provide more information, or use the standard format, otherwise we will not process this issue.
Reference document:
Expand All @@ -53,7 +53,7 @@ jobs:
---
这个 issue 已经被标记为 **Bad**。请提供更多信息,或者使用规范的格式,否则将在近期关闭
请提供更多信息,或者使用规范的格式,否则我们不会处理这个 issue
参考文档:
Expand Down

0 comments on commit 38c9155

Please sign in to comment.