File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 1111 pre-commit :
1212 runs-on : ubuntu-20.04
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1515 - uses : actions/setup-python@v5
1616 with :
1717 python-version : ' 3.x'
Original file line number Diff line number Diff line change 4040 - os : " rockylinux8"
4141 steps :
4242 - name : checkout
43- uses : actions/checkout@v3
43+ uses : actions/checkout@v4
4444 with :
4545 path : " ${{ github.repository }}"
4646
Original file line number Diff line number Diff line change 3131 - name : Check Runner
3232 ansible.builtin.assert :
3333 that :
34- - runner_name in registered_runners.json.runners|map(attribute='name')|list
35- - registered_runners.json.runners|map(attribute='status') == ["online"]
34+ - registered_runners.json.runners.0.status == "online"
3635 quiet : true
3736
3837 - name : Check Labels (skipped if labels are OK)
Original file line number Diff line number Diff line change 3131 - name : Check Runner
3232 ansible.builtin.assert :
3333 that :
34- - runner_name in registered_runners.json.runners|map(attribute='name')|list
34+ - registered_runners.json.runners.0.status == "offline"
3535 quiet : true
Original file line number Diff line number Diff line change 2828 force_basic_auth : yes
2929 register : registered_runners
3030
31- - name : Debug | var registered_runners
32- ansible.builtin.debug :
33- var : registered_runners.json.runners|map(attribute='status')
34-
3531 - name : Check Runner
3632 ansible.builtin.assert :
3733 that :
38- - runner_name in registered_runners.json.runners|map(attribute='name')|list
34+ - registered_runners.json.runners.0.status == "online"
3935 quiet : true
4036
4137 - name : Check Labels (skipped if labels are OK)
You can’t perform that action at this time.
0 commit comments