There was an error while loading. Please reload this page.
1 parent e419dc2 commit f228628Copy full SHA for f228628
1 file changed
.github/workflows/close-inactive-issues.yaml
@@ -17,7 +17,7 @@ jobs:
17
with:
18
github-token: ${{secrets.GITHUB_TOKEN}}
19
script: |
20
- const sixtyDaysAgo = new Date(Date.now() - 60 * 24 * 60 * 60 * 1000);
+ const sixtyDaysAgo = new Date(Date.now() - 35 * 24 * 60 * 60 * 1000);
21
22
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
23
console.log(`Owner: ${owner}, Repo: ${repo}`);
@@ -70,7 +70,7 @@ jobs:
70
owner,
71
repo,
72
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.'
+ body: 'This issue has been automatically closed due to 35-day inactivity. Please feel free to reopen it if needed.'
74
});
75
console.log(`Closed issue #${issue.number} due to inactivity.`);
76
} catch (error) {
0 commit comments