mirror of https://github.com/sfeakes/AqualinkD.git
27 lines
933 B
YAML
27 lines
933 B
YAML
name: "Close inactive issues"
|
|
on:
|
|
schedule:
|
|
# Run every day at 1:30 UTC
|
|
- cron: '30 1 * * *'
|
|
workflow_dispatch: # Allow manual run
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: write
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
operations-per-run: 60
|
|
days-before-issue-stale: 120
|
|
days-before-issue-close: 10
|
|
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within 10 days."
|
|
close-issue-message: "This issue has been automatically closed due to sustained inactivity."
|
|
stale-issue-label: "stale"
|
|
# Optional: specify exempt labels, such as "bug" or "feature"
|
|
# exempt-issue-labels: "bug,feature"
|