diff --git a/.github/workflows/issue-manage.yml b/.github/workflows/issue-manage.yml index d5271a8..653d120 100644 --- a/.github/workflows/issue-manage.yml +++ b/.github/workflows/issue-manage.yml @@ -19,10 +19,11 @@ jobs: with: issue-number: ${{ github.event.issue.number }} body: | - ## 快速链接 + 感谢您在该仓库提出问题!我们非常重视您的反馈,并希望尽快为您提供帮助。 - 在我们处理您的问题之前,您可以先查看以下资源: + 如果您在一周左右的时间里没有收到我们的回复,请在下方留言,以便我们注意到。我们的大部分审核都是志愿者,有时难免会有疏漏。 + 你可能会想要尝试以下方法来获得更快的帮助: - 📖 查看[项目文档](https://neteasecloudmusicapienhanced.js.org) - 💬 加入[QQ交流群](https://qm.qq.com/q/TpeP9Uv2yk) - 🔍 搜索[现有issues](https://github.com/neteasecloudmusicapienhanced/api-enhanced/issues) 看是否有类似问题 diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml new file mode 100644 index 0000000..53535cb --- /dev/null +++ b/.github/workflows/opencode.yml @@ -0,0 +1,33 @@ +name: opencode + +on: + issue_comment: + types: [created] + pull_request_review_comment: + types: [created] + +jobs: + opencode: + if: | + contains(github.event.comment.body, ' /oc') || + startsWith(github.event.comment.body, '/oc') || + contains(github.event.comment.body, ' /opencode') || + startsWith(github.event.comment.body, '/opencode') + runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + pull-requests: read + issues: read + steps: + - name: Checkout repository + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Run opencode + uses: anomalyco/opencode/github@latest + env: + OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} + with: + model: opencode/deepseek-v4-flash-free \ No newline at end of file