From 9a2fcecb4bb0370614021140b3b2386b4fb3ea4b Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Thu, 8 Jun 2023 13:59:22 +0800 Subject: [PATCH] feature(main): add test for pr (#29) * feature(main): add test for pr Signed-off-by: cuisongliu * feature(main): add test for pr Signed-off-by: cuisongliu --------- Signed-off-by: cuisongliu --- .github/workflows/bot.yml | 4 ++-- .github/workflows/test-pr.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 0f665c9..b7f147f 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -13,9 +13,9 @@ jobs: - name: Checkout the latest code uses: actions/checkout@v3 - name: Gh Rebot for Sealos - uses: labring/gh-rebot@v0.0.6-rc6 + uses: labring/gh-rebot@v0.0.6 with: - version: v0.0.6-rc6 + version: v0.0.6 env: SEALOS_TYPE: "/comment" GH_TOKEN: "${{ secrets.GH_PAT }}" diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index cbec2a2..4e25c83 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -26,7 +26,7 @@ jobs: GH_TOKEN: "${{ secrets.GH_PAT }}" - name: add file run: | - echo "somethings....." >> templates/template.md + echo "somethings.....default" >> templates/template.md - if: ${{ (github.event_name != 'push') }} run: | gh-rebot action