Files
Yamtrack/.github/workflows/stale.yml
2026-05-23 16:03:50 +02:00

50 lines
1.6 KiB
YAML

name: Stale
on:
schedule:
- cron: "30 2 * * *"
workflow_dispatch:
permissions:
actions: write
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Mark and close stale issues and pull requests
uses: actions/stale@v10
with:
days-before-issue-stale: 180
days-before-issue-close: 180
days-before-pr-stale: 90
days-before-pr-close: 30
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: pinned,security,roadmap,blocked,never stale
exempt-pr-labels: pinned,security,blocked,never stale
exempt-draft-pr: true
stale-issue-message: >
This issue has been automatically marked as stale because it has
not had recent activity. It will be closed in 180 days if there
is no further activity.
stale-pr-message: >
This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed in 30 days if there
is no further activity.
close-issue-message: >
This issue was closed because it remained inactive after being
marked stale. Feel free to reopen it or open a new issue if this
is still relevant.
close-pr-message: >
This pull request was closed because it remained inactive after
being marked stale. Feel free to reopen it or open a new pull
request if you want to continue the work.
remove-stale-when-updated: true
operations-per-run: 30