Hyprland/.github/workflows/stale.yml

29 lines
734 B
YAML
Raw 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:
- cron: "7 */4 * * *"
2024-01-01 18:34:15 +01:00
workflow_dispatch:
2024-01-01 18:26:48 +01:00
jobs:
stale:
if: github.repository == 'hyprwm/Hyprland'
2024-01-01 18:26:48 +01:00
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"
operations-per-run: 40
days-before-close: -1