Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
derekhe authored Oct 20, 2024
1 parent cc927ca commit 4368c19
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: Close Stale Issues

name: Close inactive issues
on:
schedule:
- cron: "0 0 0 * *"
- cron: "0 0 * * *" # Runs at 00:00 UTC every day

jobs:
stale:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Close stale issues
uses: actions/stale@v1
- uses: actions/stale@v5
with:
days: 30
days-before-issue-stale: 14
days-before-issue-close: 14
stale-issue-label: "stale"
close-issue-label: "closed"
stale-issue-message: "This issue has been inactive for 30 days. If you still need help, please provide more details or check if it's already been resolved."
close-issue-message: "This issue has been closed due to inactivity. If you still need help, please open a new issue."
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. Thank you for your contributions."
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4368c19

Please sign in to comment.