Skip to content

Commit 8a08226

Browse files
committed
test
1 parent e4d1169 commit 8a08226

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

‎.github/workflows/show_name.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,25 @@ 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+
29+
- name: Checkout code 1
30+
uses: actions/checkout@v4
31+
with:
32+
repository: 'test-org403/test'
33+
token: ${{ steps.github-app-token.outputs.token }}
34+
ref: 'main'
35+
36+
- name: Checkout code 2
37+
if: ${{ always() }}
38+
uses: actions/checkout@v4
39+
with:
40+
repository: 'MelonCTech/test2'
41+
token: ${{ steps.github-app-token.outputs.token }}
42+
ref: 'main'

0 commit comments

Comments
 (0)