Skip to content

Commit f228628

Browse files
authored
chore: update the issue cleaning bot
1 parent e419dc2 commit f228628

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/close-inactive-issues.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
github-token: ${{secrets.GITHUB_TOKEN}}
1919
script: |
20-
const sixtyDaysAgo = new Date(Date.now() - 60 * 24 * 60 * 60 * 1000);
20+
const sixtyDaysAgo = new Date(Date.now() - 35 * 24 * 60 * 60 * 1000);
2121
2222
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
2323
console.log(`Owner: ${owner}, Repo: ${repo}`);
@@ -70,7 +70,7 @@ jobs:
7070
owner,
7171
repo,
7272
issue_number: issue.number,
73-
body: 'This issue has been automatically closed due to 60-day inactivity. Please feel free to reopen it if needed.'
73+
body: 'This issue has been automatically closed due to 35-day inactivity. Please feel free to reopen it if needed.'
7474
});
7575
console.log(`Closed issue #${issue.number} due to inactivity.`);
7676
} catch (error) {

0 commit comments

Comments
 (0)