feat: Solve the problem that the Docker hub image cannot be pulled - use Alibaba Cloud to pull the image #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Invite users to join our group | |
on: | |
issue_comment: | |
types: | |
- created | |
jobs: | |
issue_comment: | |
name: Invite users to join our group | |
if: ${{ github.event.comment.body == '/invite' || github.event.comment.body == '/close' || github.event.comment.body == '/comment' }} | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Invite user to join our group | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
hello ~ | |
- name: Close Issue | |
uses: peter-evans/close-issue@v3 | |
with: | |
token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
issue-number: ${{ github.event.issue.number }} | |
comment: 🤖 Auto-closing issue, if you still need help please reopen the issue or ask for help in the community above | |
labels: | | |
triage/accepted |