WFGY/.github/workflows/wfgy-auto-reply.yml
2026-03-08 16:30:47 +08:00

36 lines
863 B
YAML

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
});