2024-01-01 20:26:48 +03:00
|
|
|
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
|
|
|
|
#
|
|
|
|
# You can adjust the behavior by modifying this file.
|
|
|
|
# For more information, see:
|
|
|
|
# https://github.com/actions/stale
|
|
|
|
name: Mark stale issues and pull requests
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2024-01-01 20:37:49 +03:00
|
|
|
- cron: '7 */4 * * *'
|
2024-01-01 20:34:15 +03:00
|
|
|
workflow_dispatch:
|
2024-01-01 20:26:48 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v5
|
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.STALEBOT_PAT }}
|
|
|
|
stale-issue-label: 'stale'
|
|
|
|
stale-pr-label: 'stale'
|
2024-01-01 20:37:49 +03:00
|
|
|
operations-per-run: 40
|
2024-01-05 14:40:13 +03:00
|
|
|
days-before-close: -1
|