Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 2ed9801

Browse files
Updating workflow to send reminder and removing time dependency.
1 parent e232138 commit 2ed9801

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/heretto-reminder.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ jobs:
4444
const reminderLabel = 'reminder sent';
4545
4646
if (!labels || labels.length === 0) {
47-
return { sendReminder: true }; // send reminder if the time threshold is passed, even without labels.
47+
sendReminder = true; // send reminder if the time threshold is passed, even without labels.
4848
}
4949
if (labels.includes(reminderLabel)) {
50-
return { sendReminder: false };
50+
sendReminder = false;
5151
}
52+
console.log("sendReminder value:", sendReminder); // Added debug log
53+
return { sendReminder: sendReminder };
5254
5355
- name: Debug Output
5456
run: echo "check_reminder.outputs: ${{ toJSON(steps.check_reminder.outputs) }}"

0 commit comments

Comments
 (0)