2022-07-30 15:45:58 +02:00
|
|
|
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,
|
2022-08-13 03:09:08 +02:00
|
|
|
body: '
|
|
|
|
Please upgrade to the latest code and try again first. Maybe it's already fixed.
|
|
|
|
|
|
|
|
`acme.sh --upgrade`
|
|
|
|
|
2022-08-14 10:33:48 +02:00
|
|
|
If it's still not working, please provide the log with `--debug 2`, otherwise, nobody can help you.'
|
2022-08-13 03:09:08 +02:00
|
|
|
|
2022-07-30 15:45:58 +02:00
|
|
|
})
|