mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 22:48:03 +08:00
29 lines
813 B
YAML
29 lines
813 B
YAML
name: "Close inactive issues"
|
|
on:
|
|
schedule:
|
|
- cron: "55 14 * * *"
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- uses: actions/stale@v5
|
|
with:
|
|
debug-only: true
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-issue-stale: 30
|
|
days-before-issue-close: 7
|
|
stale-issue-label: "stale"
|
|
stale-issue-message: "This issue has been open 30 days with no activity. This will be closed in 7 days."
|
|
close-issue-message: "This issue has been automatically marked as stale because it hasn't had any recent activity."
|
|
days-before-pr-stale: -1
|
|
days-before-pr-close: -1
|
|
exempt-issue-labels: bug,enhancement
|