Skip to content

Commit

Permalink
Update rerun.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
userdocs committed Sep 27, 2023
1 parent bb501ee commit 07fd201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rerun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: gh cli rerun and summaries
if: inputs.attempts < inputs.retries
if: inputs.attempts <= inputs.retries
run: |
failures="$(gh run view ${{ inputs.run_id }} --log-failed | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g")"
[[ -z "${failures}" ]] && failures="$(gh run view ${{ inputs.run_id }} | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g")"
Expand Down

0 comments on commit 07fd201

Please sign in to comment.