File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ def main(): # pragma: no cover
105105
106106 # Iterate through the repositories and open an issue/PR if dependabot is not enabled
107107 count_eligible = 0
108+ count_prs_created = 0
108109 for repo in repos :
109110 # if batch_size is defined, ensure we break if we exceed the number of eligible repos
110111 if batch_size and count_eligible >= batch_size :
@@ -245,6 +246,7 @@ def main(): # pragma: no cover
245246 existing_config ,
246247 )
247248 print (f"\t Created pull request { pull .html_url } " )
249+ count_prs_created += 1
248250 summary_content += (
249251 f"| { repo .full_name } | "
250252 f"{ '✅' if enable_security_updates else '❌' } | "
@@ -267,11 +269,10 @@ def main(): # pragma: no cover
267269 continue
268270
269271 print (f"Done. { str (count_eligible )} repositories were eligible." )
272+ print (f"{ str (count_prs_created )} pull requests were created." )
270273 # Append the summary content to the GitHub step summary file
271274 append_to_github_summary (summary_content )
272275
273- print (f"Done. { str (count_eligible )} repositories were eligible." )
274-
275276
276277def is_repo_created_date_before (repo_created_at : str , created_after_date : str ):
277278 """Check if the repository was created before the created_after_date"""
You can’t perform that action at this time.
0 commit comments