Add stale bot for old PRs by hyperupcall · Pull Request #1186 · tj/git-extras

with:
close-pr-message: "This PR was closed because it has been stalled for 365 days with no activity. Feel free make a new PR if you wish to continue¶"
days-before-pr-stale: 365
days-before-pr-close: 0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to use stale+close combination like 350+15 days, so people have time to renew it if needed.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good! Added that.

jobs:
stale:
runs-on: "ubuntu-latest"
if: github.repository_owner == 'SchemaStore'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong owner?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops 😬