Skip to content

Use "stale" GitHub actions to mark PRs as stale #372

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

Closed
Mariatta opened this issue Jun 30, 2020 · 2 comments · Fixed by python/cpython#21247
Closed

Use "stale" GitHub actions to mark PRs as stale #372

Mariatta opened this issue Jun 30, 2020 · 2 comments · Fixed by python/cpython#21247
Assignees

Comments

@Mariatta
Copy link
Member

It would be great if we can set up the stale GitHub Actions to the CPython repo to automatically mark PRs as stale:

https://github.com/actions/stale

@Mariatta Mariatta self-assigned this Jun 30, 2020
Mariatta added a commit to python/cpython that referenced this issue Jun 30, 2020
Added the "stale" GitHub action to the CPython repo.
PR's older than 30 days will be labeld as stale using the "stale-pr" label.
If needed, it can be configured to more than 30 days.

I've added bedevere-bot's GitHub token to the repo's secret settings as ``BEDEVERE_GH_TOKEN``

Closes python/core-workflow#372
@Mariatta
Copy link
Member Author

Created the PR for this functionality, and I'm using bedevere-bot's GitHub token. python/cpython#21247

Let me know if we want to use other bot's GitHub token.

@brettcannon
Copy link
Member

We shouldn't use any bot token as it's not necessary. GitHub Actions comes with its own write token for a repo.

I also left a comment about the setting to close PRs after 5 days from being marked stale. That's a big shift in how we manage the PR queue and probably requires a broader discussion.

Mariatta added a commit to python/cpython that referenced this issue Dec 15, 2020
Adding "stale" GitHub Action

Added the "stale" GitHub action to the CPython repo.
PR's older than 30 days will be labeled as stale using the "stale-pr" label.

Closes python/core-workflow#372

Co-authored-by: Brett Cannon <brett@python.org>
adorilson pushed a commit to adorilson/cpython that referenced this issue Mar 13, 2021
Adding "stale" GitHub Action

Added the "stale" GitHub action to the CPython repo.
PR's older than 30 days will be labeled as stale using the "stale-pr" label.

Closes python/core-workflow#372

Co-authored-by: Brett Cannon <brett@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants