From b619997e8df83d543db2182f28651b4d8a69fd3a Mon Sep 17 00:00:00 2001 From: quyuan Date: Mon, 29 Apr 2024 15:52:49 +0800 Subject: [PATCH 1/2] add cli test --- .github/workflows/cli.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 61817535..7734b33c 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -32,6 +32,9 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 2 + retry: + max-retries: 3 + always: false - name: check-requirements run: | changed_files=$(git diff --name-only -r HEAD~1 HEAD) From eb6bb93100365cd20f85076e4c122a379ef869d6 Mon Sep 17 00:00:00 2001 From: quyuan01 <102640628+quyuan01@users.noreply.github.com> Date: Mon, 29 Apr 2024 15:59:04 +0800 Subject: [PATCH 2/2] Update cli.yml --- .github/workflows/cli.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 7734b33c..b9835fd4 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -32,9 +32,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 2 - retry: - max-retries: 3 - always: false + - name: check-requirements run: | changed_files=$(git diff --name-only -r HEAD~1 HEAD) @@ -80,4 +78,4 @@ jobs: "text": { "mentioned_list": ["${{ env.METIONS }}"] , "content": "'${{ github.repository }}' GitHubAction Failed!\n 细节请查看:https://github.com/'${{ github.repository }}'/actions/runs/'${GITHUB_RUN_ID}'" } - }' \ No newline at end of file + }'