mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-28 11:40:07 +00:00
25 lines
752 B
YAML
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
|
|
});
|