Skip to content

Close stale issues and pull requests #47

Close stale issues and pull requests

Close stale issues and pull requests #47

Workflow file for this run

name: Close stale issues and pull requests
on:
schedule:
- cron: "0 7 * * *"
push:
branches: [ main ]
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Get bot token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.TOKENBASE_BOT_APP_ID }}
private_key: ${{ secrets.TOKENBASE_BOT_PRIVATE_KEY }}
- uses: actions/stale@v3
with:
repo-token: ${{ steps.generate_token.outputs.token }}
stale-issue-message: >
This issue is stale because it has been open 8 weeks with no activity.
We probably just don't have the bandwith to work on this. Sorry!
Unless there is an update, it will be closed in 7 days.
stale-pr-message: 'This pull request is stale because it has been open 8 weeks with no activity. Unless there is an update, it will be closed in 7 days.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
days-before-stale: 57
days-before-close: 7
operations-per-run: 3000