You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issues=$(gh issue list --state open --json number,updatedAt,author --limit 100)
27
24
echo "issues=$issues" >> $GITHUB_ENV
28
25
29
26
- name: Send reminders for stale issues
27
+
env:
28
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
29
run: |
31
30
REMINDER_DAYS=7
32
31
current_date=$(date +%s)
@@ -43,6 +42,6 @@ jobs:
43
42
44
43
if [ "$diff_days" -ge "$REMINDER_DAYS" ]; then
45
44
echo "Sending reminder to issue #$issue_number"
46
-
gh issue comment "$issue_number" --body "Hi @${issue_author}, this is a friendly reminder that your issue has been inactive for the last $REMINDER_DAYS days. Please provide an update if possible. Thank you!"
45
+
gh issue comment "$issue_number" --body "Hi @${issue_author}, this is a friendly reminder that your issue has been inactive for the last $REMINDER_DAYS days. Please provide an update if possible. Thank you!" --repo $GITHUB_REPOSITORY
0 commit comments