Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
name: Stale
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "20 2 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
stale:
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
runs-on: blacksmith-2vcpu-ubuntu-2404
|
|
steps:
|
|
- name: Mark stale issues and pull requests
|
|
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-issue-stale: 21
|
|
days-before-issue-close: 7
|
|
days-before-pr-stale: 14
|
|
days-before-pr-close: 7
|
|
stale-issue-label: stale
|
|
stale-pr-label: stale
|
|
exempt-issue-labels: security,pinned,no-stale,maintainer
|
|
exempt-pr-labels: no-stale,maintainer
|
|
remove-stale-when-updated: true
|
|
exempt-all-assignees: true
|
|
operations-per-run: 300
|
|
stale-issue-message: |
|
|
This issue was automatically marked as stale due to inactivity.
|
|
Please provide an update, reproduction details, or current status to keep it open.
|
|
close-issue-message: |
|
|
Closing this issue due to inactivity.
|
|
If the problem still exists on the latest `main`, please open a new issue with fresh repro steps.
|
|
close-issue-reason: not_planned
|
|
stale-pr-message: |
|
|
This PR was automatically marked as stale due to inactivity.
|
|
Please rebase/update and post the latest validation results.
|
|
close-pr-message: |
|
|
Closing this PR due to inactivity.
|
|
Maintainers can reopen once the branch is updated and validation is provided.
|