Skip to content

Commit

Permalink
fix(main): upgrade robot (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <[email protected]>
  • Loading branch information
cuisongliu authored Aug 27, 2023
1 parent bf83999 commit bb70bea
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ on:
issue_comment:
types:
- created
env:
GH_TOKEN: "${{ secrets.GH_PAT }}"
GH_REBOT_VERSION: "v0.0.3-rc4"
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
- name: Gh Robot for Sealos
uses: labring/[email protected]
with:
version: v2.0.0
env:
SEALOS_TYPE: "/comment"
GH_TOKEN: "${{ secrets.GH_PAT }}"

0 comments on commit bb70bea

Please sign in to comment.