Skip to content

Commit 203fb20

Browse files
committed
fix(scripts): always exit 0 from check-aws-updates.py
The script was returning exit code 1 when updates were found, which caused the GitHub Actions workflow to fail at that step, preventing subsequent steps from executing (commit tracking, issue creation, summary). The script correctly sets output variables (updates_found, update_count) to communicate results, but the non-zero exit code halted the workflow before those variables could be used. Now the script always returns 0 (success) and uses the output variables to indicate whether updates were found, allowing the workflow to complete as designed.
1 parent c964237 commit 203fb20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/check-aws-updates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def main():
267267
for update in all_updates:
268268
print(f" - [{update['service']}] {update['title']}")
269269

270-
return 0 if not all_updates else 1
270+
return 0
271271

272272

273273
if __name__ == "__main__":

0 commit comments

Comments
 (0)