You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NO_WORKFLOW_RUNNING_INFO="All nightly cron job were not run in the last #{TESTS_TIME_INTERVAL_IN_HOURS} hrs. Please review [log](#{GITHUB_WORKFLOW_URL}) make sure there at least exists one cron job running.".freeze
24
27
EXCLUDED_WORKFLOWS=[]
25
28
ISSUE_LABELS=""
26
29
ISSUE_TITLE="Auto-Generated Testing Report"
@@ -47,10 +50,10 @@ def initialize(title)
47
50
@is_empty_table=true
48
51
@text=String.new""
49
52
@text << "# %s\n" % [title]
50
-
@text << "This issue is generated at %s\n" % [cur_time.strftime('%m/%d/%Y %H:%M %p')]
53
+
@text << "This issue([log](%s)) is generated at %s, fetching workflow runs triggered in the last %s hrs.\n" % [GITHUB_WORKFLOW_URL,cur_time.strftime('%m/%d/%Y %H:%M %p'),TESTS_TIME_INTERVAL_IN_HOURS]
51
54
# get a table with two columns, workflow and the date of yesterday.
failure_report.add_workflow_run_and_result(workflow_text,result_text + "The cron job created_at: %s did not run in the last 24 hrs." % [latest_run.created_at])
0 commit comments