add issue.yml

This commit is contained in:
neil committed 2022-07-30 21:45:58 +08:00
1 parent c9cab9ab74
commit 8a1f038a80
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
name: "Update issues"
on:
issues:
types: [opened]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Please provode the log with `--debug 2` if this is a bug report.'
})
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.