Skip to content

Commit

Permalink
Update cronJob.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vaisakhkannan committed Aug 5, 2024
1 parent 313a1ad commit 4f14a2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cronJob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ jobs:
if [[ "$mergeable" == "null" ]]; then
echo "::warning file=::PR #$(jq -r '.number' <<< "$pr_detail") still has Mergeable value of 'null' after $max_attempts attempts."
fi
if [[ "$mergeable" != "false" ]]; then
# if [[ "$mergeable" != "false" ]]; then
pr_number=$(jq -r '.number' <<< "$pr_detail")
pr_sha=$(jq -r '.merge_commit_sha' <<< "$pr_detail")
pr_link=$(jq -r '.html_url' <<< "$pr_detail")
valid_prs+=("{\"number\": \"$pr_number\", \"sha\": \"$pr_sha\", \"link\": \"$pr_link\"}")
else
echo "::warning file=::PR #$(jq -r '.number' <<< "$pr_detail") has conflicts. See : $(jq -r '.html_url' <<< "$pr_detail")"
fi
# else
# echo "::warning file=::PR #$(jq -r '.number' <<< "$pr_detail") has conflicts. See : $(jq -r '.html_url' <<< "$pr_detail")"
# fi
done
# Create a JSON string from the array
Expand Down

0 comments on commit 4f14a2c

Please sign in to comment.