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

25 lines
752 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.\n\nPSBigBig is currently somewhere thinking about life, the universe, and possibly debugging the meaning of existence.\n\nYour issue has been recorded. He will take a look when he returns.\n\nThanks again for contributing.";
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: body
});