You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
687 B
24 lines
687 B
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 upgrade to the latest code and try again first. Maybe it's already fixed.
|
|
|
|
`acme.sh --upgrade`
|
|
|
|
If it's still not working, please provide the log with `--debug 2`, otherwise, nobody can help you.'
|
|
|
|
})
|