From 688a36add3a2c87ec11b8e6c79ccb33cf1496244 Mon Sep 17 00:00:00 2001 From: Water-Melon Date: Fri, 4 Jul 2025 15:38:09 +0800 Subject: [PATCH] test --- .github/workflows/show_name.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/show_name.yml b/.github/workflows/show_name.yml index 3493a49..e3163bb 100644 --- a/.github/workflows/show_name.yml +++ b/.github/workflows/show_name.yml @@ -18,3 +18,26 @@ jobs: if: ${{ github.event.pull_request.user.login == 'melon-app[bot]'}} run: | echo "correct" + + - name: Generate kong bot app token + id: github-app-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ secrets.TEST_APPID }} + private-key: ${{ secrets.TEST_APP_PRIVATE_KEY }} + owner: 'test-org403' + + - name: Checkout code 1 + uses: actions/checkout@v4 + with: + repository: 'test-org403/test' + token: ${{ steps.github-app-token.outputs.token }} + ref: 'main' + + - name: Checkout code 2 + if: ${{ always() }} + uses: actions/checkout@v4 + with: + repository: 'MelonCTech/test2' + token: ${{ steps.github-app-token.outputs.token }} + ref: 'main'