From 5b5e10dee06943deaa872747b3790e92ce8087d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 15 Dec 2024 17:30:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BC=98=E5=8C=96bug=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/issue-auto-reply.yml | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/issue-auto-reply.yml diff --git a/.github/workflows/issue-auto-reply.yml b/.github/workflows/issue-auto-reply.yml new file mode 100644 index 00000000..a253c5fa --- /dev/null +++ b/.github/workflows/issue-auto-reply.yml @@ -0,0 +1,27 @@ +name: Issue Auto Reply +on: + issues: + types: [ labeled ] +permissions: + contents: read +jobs: + issue-reply: + permissions: + issues: write + pull-requests: write + runs-on: ubuntu-24.04 + steps: + - name: ☢️ Bug + if: github.event.label.name == '☢️ Bug' + uses: actions-cool/issues-helper@v3 + with: + actions: 'create-comment' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + Hi @${{ github.event.issue.user.login }} 👋 + + 感谢提交 Bug,请确保您的描述清晰,日志完整,最好能提供复现步骤,以便我们更快定位问题并解决。 + Thanks for submitting a bug, please make sure your description is clear, log is complete, and it is best to provide a reproduction step so that we can locate and solve the problem faster. + + ![Log](https://github.com/user-attachments/assets/0ce7a32d-cc79-4bef-91fc-5bec1d0ed376)