mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-28 03:29:51 +00:00
Add WFGY Auto Reply Bot workflow
This commit is contained in:
parent
693d545b5b
commit
04ba766f74
1 changed files with 36 additions and 0 deletions
36
.github/workflows/wfgy-auto-reply.yml
vendored
Normal file
36
.github/workflows/wfgy-auto-reply.yml
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
name: WFGY Auto Reply Bot
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
reply:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
steps:
|
||||
- name: Auto reply
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const body = `
|
||||
Thanks for opening this issue.
|
||||
|
||||
If your question is related to RAG failures,
|
||||
you may want to check the WFGY ProblemMap first:
|
||||
|
||||
https://github.com/onestardao/WFGY/tree/main/ProblemMap
|
||||
|
||||
This page explains the 16 common RAG failure modes.
|
||||
|
||||
A maintainer will review your issue soon.
|
||||
`;
|
||||
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
body: body
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue