From 31e5d2ddf740b23e2ec5a6913a43ae523d5c389b Mon Sep 17 00:00:00 2001 From: liu-shaojun Date: Wed, 4 Sep 2024 08:43:51 +0000 Subject: [PATCH 1/2] fix dependabot alerts --- .github/actions/llm/download-llm-binary/action.yml | 2 +- .github/workflows/llm-c-evaluation.yml | 4 ++-- .github/workflows/llm-harness-evaluation.yml | 4 ++-- .github/workflows/llm-ppl-evaluation.yml | 4 ++-- .github/workflows/llm-whisper-evaluation.yml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/llm/download-llm-binary/action.yml b/.github/actions/llm/download-llm-binary/action.yml index c15bfe49f2a..19de28ec43b 100644 --- a/.github/actions/llm/download-llm-binary/action.yml +++ b/.github/actions/llm/download-llm-binary/action.yml @@ -10,7 +10,7 @@ runs: using: "composite" steps: - name: Download all build files - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 - name: Move build resources shell: bash run: | diff --git a/.github/workflows/llm-c-evaluation.yml b/.github/workflows/llm-c-evaluation.yml index ac212d33280..a797e3d4f4e 100644 --- a/.github/workflows/llm-c-evaluation.yml +++ b/.github/workflows/llm-c-evaluation.yml @@ -204,7 +204,7 @@ jobs: pip install pandas==1.5.3 - name: Download ceval results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: ceval_results path: results @@ -259,7 +259,7 @@ jobs: fi - name: Download ceval results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: results_${{ needs.set-matrix.outputs.date }} path: ${{ env.ACC_FOLDER }} diff --git a/.github/workflows/llm-harness-evaluation.yml b/.github/workflows/llm-harness-evaluation.yml index 8e9b9bf7d25..d6a3a9efd9a 100644 --- a/.github/workflows/llm-harness-evaluation.yml +++ b/.github/workflows/llm-harness-evaluation.yml @@ -220,7 +220,7 @@ jobs: pip install --upgrade pip pip install jsonlines pytablewriter regex - name: Download all results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: harness_results path: results @@ -260,7 +260,7 @@ jobs: fi - name: Download harness results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: harness_results path: ${{ env.ACC_FOLDER}}/${{ env.DATE }} diff --git a/.github/workflows/llm-ppl-evaluation.yml b/.github/workflows/llm-ppl-evaluation.yml index d1d0be00499..4bea2cc0e3b 100644 --- a/.github/workflows/llm-ppl-evaluation.yml +++ b/.github/workflows/llm-ppl-evaluation.yml @@ -206,7 +206,7 @@ jobs: pip install --upgrade pip pip install jsonlines pytablewriter regex - name: Download all results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: ppl_results path: results @@ -245,7 +245,7 @@ jobs: fi - name: Download ppl results - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: ppl_results path: ${{ env.ACC_FOLDER}}/${{ env.DATE }} diff --git a/.github/workflows/llm-whisper-evaluation.yml b/.github/workflows/llm-whisper-evaluation.yml index bde7929c5a0..41fa88d4246 100644 --- a/.github/workflows/llm-whisper-evaluation.yml +++ b/.github/workflows/llm-whisper-evaluation.yml @@ -176,14 +176,14 @@ jobs: - name: Download all results for nightly run if: github.event_name == 'schedule' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: whisper_results path: ${{ env.NIGHTLY_FOLDER}}/${{ env.OUTPUT_PATH }} - name: Download all results for pr run if: github.event_name == 'pull_request' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@4.1.7 with: name: whisper_results path: ${{ env.PR_FOLDER}}/${{ env.OUTPUT_PATH }} From 4dca8f2e18c498288463e3c7130dc8e5eca643a0 Mon Sep 17 00:00:00 2001 From: liu-shaojun Date: Wed, 4 Sep 2024 08:55:28 +0000 Subject: [PATCH 2/2] update --- .github/workflows/llm-c-evaluation.yml | 8 ++++---- .github/workflows/llm-harness-evaluation.yml | 8 ++++---- .github/workflows/llm-ppl-evaluation.yml | 8 ++++---- .github/workflows/llm-whisper-evaluation.yml | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/llm-c-evaluation.yml b/.github/workflows/llm-c-evaluation.yml index a797e3d4f4e..cb890f19eec 100644 --- a/.github/workflows/llm-c-evaluation.yml +++ b/.github/workflows/llm-c-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "00 15 * * *" # GMT time, 15:00 GMT == 23:00 Beijing Time - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-c-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-c-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: diff --git a/.github/workflows/llm-harness-evaluation.yml b/.github/workflows/llm-harness-evaluation.yml index d6a3a9efd9a..839393bb49c 100644 --- a/.github/workflows/llm-harness-evaluation.yml +++ b/.github/workflows/llm-harness-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "30 12 * * *" # GMT time, 12:30 GMT == 20:30 China - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-harness-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-harness-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: diff --git a/.github/workflows/llm-ppl-evaluation.yml b/.github/workflows/llm-ppl-evaluation.yml index 4bea2cc0e3b..6a64502ffbb 100644 --- a/.github/workflows/llm-ppl-evaluation.yml +++ b/.github/workflows/llm-ppl-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "00 12 * * *" # GMT time, 12:00 GMT == 20:00 China - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-ppl-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-ppl-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: diff --git a/.github/workflows/llm-whisper-evaluation.yml b/.github/workflows/llm-whisper-evaluation.yml index 41fa88d4246..538e10e56b0 100644 --- a/.github/workflows/llm-whisper-evaluation.yml +++ b/.github/workflows/llm-whisper-evaluation.yml @@ -12,10 +12,10 @@ permissions: on: # schedule: # - cron: "00 13 * * *" # GMT time, 13:00 GMT == 21:00 China - pull_request: - branches: [main] - paths: - - ".github/workflows/llm-whisper-evaluation.yml" + # pull_request: + # branches: [main] + # paths: + # - ".github/workflows/llm-whisper-evaluation.yml" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: inputs: