Skip to content

Commit

Permalink
Initialize context, even when there are zero non-group issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Apr 26, 2024
1 parent d0cffcd commit 168e36f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ def process_type(

set_non_compliant_flag(issue, context, dry_run)
add_comment(issue, context, dry_run, footer)

context = {
"comments": [],
"jira_client": jira_client,
"updates": [],
"non-compliant": False,
}
for check in group_checks:
check(issues, context, dry_run)

Expand Down

0 comments on commit 168e36f

Please sign in to comment.