87 lines
3.2 KiB
YAML
87 lines
3.2 KiB
YAML
name: Stale
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "33 4 * * *"
|
|
workflow_dispatch:
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
stale:
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Mark stale unassigned issues and pull requests
|
|
uses: actions/stale@v10
|
|
with:
|
|
days-before-issue-stale: 14
|
|
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: enhancement,maintainer,pinned,security,no-stale
|
|
exempt-pr-labels: maintainer,no-stale
|
|
operations-per-run: 1000
|
|
ascending: true
|
|
exempt-all-assignees: true
|
|
remove-stale-when-updated: true
|
|
stale-issue-message: |
|
|
This issue has been automatically marked as stale due to inactivity.
|
|
Please add updated notcrawl details or it will be closed.
|
|
stale-pr-message: |
|
|
This pull request has been automatically marked as stale due to inactivity.
|
|
Please update it or it will be closed.
|
|
close-issue-message: |
|
|
Closing due to inactivity.
|
|
If this still affects notcrawl, open a new issue with current reproduction details.
|
|
close-issue-reason: not_planned
|
|
close-pr-message: |
|
|
Closing due to inactivity.
|
|
If this PR should be revived, reopen it with current context and validation.
|
|
|
|
- name: Mark stale assigned issues
|
|
uses: actions/stale@v10
|
|
with:
|
|
days-before-issue-stale: 30
|
|
days-before-issue-close: 10
|
|
days-before-pr-stale: -1
|
|
days-before-pr-close: -1
|
|
stale-issue-label: stale
|
|
exempt-issue-labels: enhancement,maintainer,pinned,security,no-stale
|
|
operations-per-run: 1000
|
|
ascending: true
|
|
include-only-assigned: true
|
|
remove-stale-when-updated: true
|
|
stale-issue-message: |
|
|
This assigned issue has been automatically marked as stale after 30 days of inactivity.
|
|
Please add an update or it will be closed.
|
|
close-issue-message: |
|
|
Closing due to inactivity.
|
|
If this still affects notcrawl, reopen or file a new issue with current evidence.
|
|
close-issue-reason: not_planned
|
|
|
|
- name: Mark stale assigned pull requests
|
|
uses: actions/stale@v10
|
|
with:
|
|
days-before-issue-stale: -1
|
|
days-before-issue-close: -1
|
|
days-before-pr-stale: 27
|
|
days-before-pr-close: 7
|
|
stale-pr-label: stale
|
|
exempt-pr-labels: maintainer,no-stale
|
|
operations-per-run: 1000
|
|
ascending: true
|
|
include-only-assigned: true
|
|
ignore-pr-updates: true
|
|
remove-stale-when-updated: true
|
|
stale-pr-message: |
|
|
This assigned pull request has been automatically marked as stale after being open for 27 days.
|
|
Please add an update or it will be closed.
|
|
close-pr-message: |
|
|
Closing due to inactivity.
|
|
If this PR should be revived, reopen it with current context and validation.
|