|
61 | 61 | while true; do |
62 | 62 | users=$(curl -L \ |
63 | 63 | -H "Accept: application/vnd.github+json" \ |
64 | | - -H "Authorization: Bearer ${{ secrets.TOKEN_ACTION }}" \ |
| 64 | + -H "Authorization: Bearer ${{ secrets.SYNC_APP_KEY || github.token }}" \ |
65 | 65 | -H "X-GitHub-Api-Version: 2022-11-28" \ |
66 | 66 | "https://api.github.com/orgs/matrixorigin/members?page=$PAGE&per_page=$PER_PAGE"); |
67 | 67 | if [ $(echo $users | jq ".[].login" | grep -c "${{ github.event.pull_request.user.login }}" ) -eq 1 ]; then |
|
82 | 82 | run: | |
83 | 83 | labels=$(curl -L \ |
84 | 84 | -H "Accept: application/vnd.github+json" \ |
85 | | - -H "Authorization: Bearer ${{ secrets.TOKEN_ACTION }}" \ |
| 85 | + -H "Authorization: Bearer ${{ secrets.SYNC_APP_KEY || github.token }}" \ |
86 | 86 | -H "X-GitHub-Api-Version: 2022-11-28" \ |
87 | 87 | '${{ github.event.pull_request.url}}' | jq ".labels"); |
88 | 88 | if [ $(echo $labels | jq ".[].name" | grep -c "safe-to-test" ) -ge 1 ]; then |
@@ -410,7 +410,7 @@ jobs: |
410 | 410 | - name: size-label |
411 | 411 | uses: "matrixorigin/CI/actions/label-size-action@main" |
412 | 412 | with: |
413 | | - size_token: ${{ secrets.TOKEN_ACTION }} |
| 413 | + size_token: ${{ secrets.SYNC_APP_KEY || github.token }} |
414 | 414 | ignore: ".md,.pb.go" |
415 | 415 | sizes: > |
416 | 416 | { |
@@ -441,39 +441,39 @@ jobs: |
441 | 441 | uses: actions/checkout@v6 |
442 | 442 | with: |
443 | 443 | repository: matrixorigin/mo-load-data |
444 | | - token: ${{secrets.TOKEN_ACTION}} |
| 444 | + token: ${{ secrets.SYNC_APP_KEY || github.token }} |
445 | 445 | path: ./mo-load-data |
446 | 446 | ref: main |
447 | 447 | - name: Clone mo-load Repo |
448 | 448 | if: ${{ !cancelled() && !failure() }} |
449 | 449 | uses: actions/checkout@v6 |
450 | 450 | with: |
451 | 451 | repository: matrixorigin/mo-load |
452 | | - token: ${{secrets.TOKEN_ACTION}} |
| 452 | + token: ${{ secrets.SYNC_APP_KEY || github.token }} |
453 | 453 | path: ./mo-load |
454 | 454 | ref: "1.0" |
455 | 455 | - name: Clone mo-tpcc Repo |
456 | 456 | if: ${{ !cancelled() && !failure() }} |
457 | 457 | uses: actions/checkout@v6 |
458 | 458 | with: |
459 | 459 | repository: matrixorigin/mo-tpcc |
460 | | - token: ${{secrets.TOKEN_ACTION}} |
| 460 | + token: ${{ secrets.SYNC_APP_KEY || github.token }} |
461 | 461 | path: ./mo-tpcc |
462 | 462 | ref: main |
463 | 463 | - name: Clone mo-ssb Repo |
464 | 464 | if: ${{ !cancelled() && !failure() }} |
465 | 465 | uses: actions/checkout@v6 |
466 | 466 | with: |
467 | 467 | repository: matrixorigin/mo-ssb |
468 | | - token: ${{secrets.TOKEN_ACTION}} |
| 468 | + token: ${{ secrets.SYNC_APP_KEY || github.token }} |
469 | 469 | path: ./mo-ssb |
470 | 470 | ref: main |
471 | 471 | - name: Clone mo-tpch Repo |
472 | 472 | if: ${{ !cancelled() && !failure() }} |
473 | 473 | uses: actions/checkout@v6 |
474 | 474 | with: |
475 | 475 | repository: matrixorigin/mo-tpch |
476 | | - token: ${{secrets.TOKEN_ACTION}} |
| 476 | + token: ${{ secrets.SYNC_APP_KEY || github.token }} |
477 | 477 | path: ./mo-tpch |
478 | 478 | ref: main |
479 | 479 |
|
|
0 commit comments