File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,17 +46,27 @@ jobs:
4646 if : needs.process-command.outputs.continue == 'true'
4747 runs-on : ${{ needs.process-command.outputs.runner }}
4848 steps :
49- # The gh tool is pre-installed on all runners
50- # - name: Install GitHub CLI
51- # uses: ksivamuthu/actions-setup-gh-cli@v2
52- # with:
53- # version: 2.92.0
54- - id : checkout-repo
55- uses : Wandalen/wretry.action@v3.8.0
56- with :
57- action : actions/checkout@v6
58- attempt_limit : 5
59- attempt_delay : 20000
49+ - id : checkout-attempt-1
50+ uses : actions/checkout@v6
51+ continue-on-error : true
52+ - id : sleep-1
53+ if : steps.checkout.outcome == 'failure'
54+ shell : bash
55+ run : sleep 30s
56+
57+ - id : checkout-attempt-2
58+ if : steps.checkout-attempt-1.outcome == 'failure'
59+ uses : actions/checkout@v6
60+ continue-on-error : true
61+ - id : sleep-2
62+ if : steps.checkout-attempt-2.outcome == 'failure'
63+ shell : bash
64+ run : sleep 30s
65+
66+ - id : checkout-attempt-3
67+ if : steps.checkout-attempt-2.outcome == 'failure'
68+ uses : actions/checkout@v6
69+
6070 - id : checkout-pr
6171 env :
6272 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -299,8 +299,7 @@ def parse_single(fmt):
299299 lines = parse_env (fmt )
300300
301301 data = DATA .get ("result" , {})
302- # op = list(data.keys())[0]
303- op = "all"
302+ op = list (data .keys ())[0 ]
304303
305304 op_data = data .get (op , {}).get ("accuracy" , {})
306305 lines .extend (parse_single_accuracy (fmt , op_data ))
You can’t perform that action at this time.
0 commit comments