Skip to content

Commit

Permalink
fix issue body
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Apr 14, 2023
1 parent 8de1e4b commit aea7163
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ runs:
fi
issue_title="RI Expiring in $days_left Days"
issue_body="The following Reserved Instances are expiring within $days_left days:\n\n$output"
issue_body=$(cat <<END
The following Reserved Instances are expiring within $days_left days:
$output
END
)
# Check if an issue with the same title already exists
existing_issue=$(gh issue list --search "$issue_title" --state open --json 'number,body' -q '.[] | .number')
Expand Down

0 comments on commit aea7163

Please sign in to comment.