Skip to content

Commit

Permalink
fix typo in pr bot
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonw committed Jan 12, 2024
1 parent 52248e1 commit 2501064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/close-inactive-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
const repo = context.repo.repo;
const prs = await github.rest.pulls.list({ owner, repo, state: 'open' });
const thirtyDaysAgo = new Date();
thirtyDaysAgo.setMinutes(thirtyDaysAgo.getDate() - 28);
thirtyDaysAgo.setDate(thirtyDaysAgo.getDate() - 28);
const oneWeekAgo = new Date();
oneWeekAgo.setMinutes(oneWeekAgo.getDate() - 7);
oneWeekAgo.setDate(oneWeekAgo.getDate() - 7);
for (const pr of prs.data) {
const updatedAt = new Date(pr.updated_at);
Expand Down

0 comments on commit 2501064

Please sign in to comment.