Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding "stale" GitHub Action #21247

Merged
merged 5 commits into from
Dec 15, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Mark stale pull requests

on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/[email protected]
Mariatta marked this conversation as resolved.
Show resolved Hide resolved
with:
repo-token: ${{ secrets.BEDEVERE_GH_TOKEN }}
Mariatta marked this conversation as resolved.
Show resolved Hide resolved
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days'
stale-pr-label: 'stale-pr'
Mariatta marked this conversation as resolved.
Show resolved Hide resolved
days-before-stale: 30
days-before-close: 5
Copy link
Member

Choose a reason for hiding this comment

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

Are we prepared to close out stale PRs? I think this would require a much wider discussion as that's a change in development approach.

Copy link
Member Author

Choose a reason for hiding this comment

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

There's a prior discussion in python/core-workflow#93 but we have never reached decision. I can ask in Discourse.

Copy link
Member Author

Choose a reason for hiding this comment

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