60 Days Stale Check #1046
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: 60 Days Stale Check | |
# **What it does**: Pull requests older than 60 days will be flagged as stale. | |
# **Why we have it**: We want to manage our queue of issues and pull requests. | |
# **Who does it impact**: Everyone that works on docs or docs-internal. | |
on: | |
schedule: | |
- cron: "40 16 * * *" # Run each day at 16:40 UTC / 8:40 PST | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
stale: | |
if: github.repository == 'h3mmy/bloopySphere' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/stale@f69122271d990fd11f5594ccff2296f00ff59b49 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
stale-issue-message: "This issue is stale because it has been open 60 days with no activity." | |
stale-pr-message: "This PR is stale because it has been open 60 days with no activity." | |
days-before-stale: 60 | |
days-before-close: -1 | |
only-labels: "bug,enhancement,triaged,pipeline" | |
stale-issue-label: "stale" | |
stale-pr-label: "stale" | |
exempt-pr-labels: "never-stale,waiting for review" | |
exempt-issue-labels: "never-stale,help wanted,waiting for review,bot" |