Skip to content

Commit 628d78c

Browse files
committed
test
1 parent e4d1169 commit 628d78c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/show_name.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,26 @@ jobs:
1818
if: ${{ github.event.pull_request.user.login == 'melon-app[bot]'}}
1919
run: |
2020
echo "correct"
21+
22+
- name: Generate kong bot app token
23+
id: github-app-token
24+
uses: actions/create-github-app-token@v2
25+
with:
26+
app-id: ${{ secrets.TEST_APPID }}
27+
private-key: ${{ secrets.TEST_APP_PRIVATE_KEY }}
28+
owner: 'Water-Melon'
29+
30+
- name: Checkout code 1
31+
uses: actions/checkout@v4
32+
with:
33+
repository: 'test-org403/test'
34+
token: ${{ steps.github-app-token.outputs.token }}
35+
ref: 'main'
36+
37+
- name: Checkout code 2
38+
if: ${{ always() }}
39+
uses: actions/checkout@v4
40+
with:
41+
repository: 'MelonCTech/test2'
42+
token: ${{ steps.github-app-token.outputs.token }}
43+
ref: 'main'

0 commit comments

Comments
 (0)