Skip to content

Commit

Permalink
feature(main): fix rebot
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu committed Apr 29, 2023
1 parent b34d454 commit a079f6c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 53 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Github Rebot for Sealos
on:
issue_comment:
types:
- created
env:
GH_TOKEN: "${{ secrets.GH_PAT }}"
GH_REBOT_VERSION: "v0.0.3-rc6"
jobs:
comment:
if: startswith(github.event.comment.body, '/')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v3
- name: Download gh-rebot
run: |
sudo wget -q https://github.com/labring-actions/gh-rebot/releases/download/${GH_REBOT_VERSION}/gh-rebot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz
sudo tar -zxf gh-rebot_${GH_REBOT_VERSION#v}_linux_amd64.tar.gz gh-rebot && chmod +x gh-rebot && sudo mv gh-rebot /usr/bin/gh-rebot
gh-rebot version
- name: Using sealos-rebot
run: |
gh-rebot comment
53 changes: 0 additions & 53 deletions .github/workflows/test-comment.yml

This file was deleted.

0 comments on commit a079f6c

Please sign in to comment.