- Date Comparison: Changed from using the API since filter to a bash comparison using date +%s. - Safety Check: Added if [ -z "$issue" ]; then continue; fi inside the loop to prevent the crash if jq outputs an empty line. - Logic: The script now checks if the issue is actually older than 30 days before applying the label.