Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Dec 5, 2023
1 parent f638d97 commit 0b4b3b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/download-rfc-prs.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ module.exports = async ({github, context}) => {
const pushedAt = new Date(pr.pushed_at)
const updatedDate = updatedAt > pushedAt ? updatedAt : pushedAt
const isStale = updatedDate < staleRFCDate

const destinationDir = isNew ? 'new' : (isStale ? 'stale' : 'proposed')
console.log(`PR ${pr.number} is ${destinationDir}. ${pr.html_url}`)
console.log('updatedAt' + updatedAt.toISOString())
console.log('pushedAt' + pushedAt.toISOString())
console.log('updatedDate' + updatedDate.toISOString())
console.log('staleRFCDate' + staleRFCDate.toISOString())

/*
We want to link the proposed RFCs to their respective PRs.
Expand Down

0 comments on commit 0b4b3b2

Please sign in to comment.