Skip to content

Commit

Permalink
style: do not use backticks (#5687)
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 authored Oct 4, 2024
1 parent d161485 commit 23825c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gh_retry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ WORKFLOW="Build Test"
GREP_ERROR_PATTERN='Test "http/interactsh.yaml" failed'

#Set fonts for Help.
NORM=`tput sgr0`
BOLD=`tput bold`
REV=`tput smso`
NORM=$(tput sgr0)
BOLD=$(tput bold)
REV=$(tput smso)

HELP()
{
Expand Down Expand Up @@ -73,7 +73,7 @@ function print_bold() {
function retry_failed_jobs() {
print_bold "Checking failed workflows for branch $BRANCH before $BEFORE"

date=`date +%Y-%m-%d'T'%H:%M'Z' -d "$BEFORE"`
date=$(date +%Y-%m-%d'T'%H:%M'Z' -d "$BEFORE")

workflowIds=$(gh run list --limit "$LIMIT" --json headBranch,status,name,conclusion,databaseId,updatedAt | jq -c '.[] |
select ( .headBranch==$branch ) |
Expand Down

0 comments on commit 23825c7

Please sign in to comment.