Hyprland/.github/workflows/stale.yml

29 lines
672 B
YAML
Raw Permalink Normal View History

2024-01-01 18:26:48 +01: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 18:37:49 +01:00
- cron: '7 */4 * * *'
2024-01-01 18:34:15 +01:00
workflow_dispatch:
2024-01-01 18:26:48 +01: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 18:37:49 +01:00
operations-per-run: 40
2024-01-05 12:40:13 +01:00
days-before-close: -1