Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
while true; do
users=$(curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.TOKEN_ACTION }}" \
-H "Authorization: Bearer ${{ secrets.SYNC_APP_KEY || github.token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/orgs/matrixorigin/members?page=$PAGE&per_page=$PER_PAGE");
if [ $(echo $users | jq ".[].login" | grep -c "${{ github.event.pull_request.user.login }}" ) -eq 1 ]; then
Expand All @@ -82,7 +82,7 @@ jobs:
run: |
labels=$(curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.TOKEN_ACTION }}" \
-H "Authorization: Bearer ${{ secrets.SYNC_APP_KEY || github.token }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
'${{ github.event.pull_request.url}}' | jq ".labels");
if [ $(echo $labels | jq ".[].name" | grep -c "safe-to-test" ) -ge 1 ]; then
Expand Down Expand Up @@ -410,7 +410,7 @@ jobs:
- name: size-label
uses: "matrixorigin/CI/actions/label-size-action@main"
with:
size_token: ${{ secrets.TOKEN_ACTION }}
size_token: ${{ secrets.SYNC_APP_KEY || github.token }}
ignore: ".md,.pb.go"
sizes: >
{
Expand Down Expand Up @@ -441,39 +441,39 @@ jobs:
uses: actions/checkout@v6
with:
repository: matrixorigin/mo-load-data
token: ${{secrets.TOKEN_ACTION}}
token: ${{ secrets.SYNC_APP_KEY || github.token }}
path: ./mo-load-data
ref: main
- name: Clone mo-load Repo
if: ${{ !cancelled() && !failure() }}
uses: actions/checkout@v6
with:
repository: matrixorigin/mo-load
token: ${{secrets.TOKEN_ACTION}}
token: ${{ secrets.SYNC_APP_KEY || github.token }}
path: ./mo-load
ref: "1.0"
- name: Clone mo-tpcc Repo
if: ${{ !cancelled() && !failure() }}
uses: actions/checkout@v6
with:
repository: matrixorigin/mo-tpcc
token: ${{secrets.TOKEN_ACTION}}
token: ${{ secrets.SYNC_APP_KEY || github.token }}
path: ./mo-tpcc
ref: main
- name: Clone mo-ssb Repo
if: ${{ !cancelled() && !failure() }}
uses: actions/checkout@v6
with:
repository: matrixorigin/mo-ssb
token: ${{secrets.TOKEN_ACTION}}
token: ${{ secrets.SYNC_APP_KEY || github.token }}
path: ./mo-ssb
ref: main
- name: Clone mo-tpch Repo
if: ${{ !cancelled() && !failure() }}
uses: actions/checkout@v6
with:
repository: matrixorigin/mo-tpch
token: ${{secrets.TOKEN_ACTION}}
token: ${{ secrets.SYNC_APP_KEY || github.token }}
path: ./mo-tpch
ref: main

Expand Down
Loading