|
@ -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.' |
|
|
|
|
|
}) |