Skip to content

Commit bece5d7

Browse files
committed
Update watchdog.yml
1 parent fb4c528 commit bece5d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/watchdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
ATTEMPTS="3"
4141
SCRIPT="${{ matrix.script }}"
4242
43-
WORKFLOW=$(gh api "/repos/${{ github.repository }}/actions/workflows" | jq '.workflows[] | select(.path==".github/workflows/'${{ matrix.script }}'.yml")' | jq -r '.id')
43+
WORKFLOW=$(gh api "/repos/${{ github.repository }}/actions/workflows" | jq '.workflows[] | select(.path==".github/workflows/${{ matrix.script }}.yml")' | jq -r '.id')
4444
read ID STATUS ATTEMPT <<< $(gh api "/repos/${{ github.repository }}/actions/workflows/${WORKFLOW}/runs" | jq '.workflow_runs[]' | jq -r '.id,.conclusion,.run_attempt' | head -3 | xargs -n3 -d'\n')
4545
4646
# if attempt is lower then 5 and status is "cancelled" or "failed", rerun failed jobs

0 commit comments

Comments
 (0)