This commit is contained in:
William Harrison
2025-01-02 18:54:05 +08:00
parent b7739fb0c8
commit f78a7beddc
3 changed files with 23 additions and 26 deletions
+15 -16
View File
@@ -1,21 +1,20 @@
name: StaleBOT
on:
workflow_dispatch:
name: 'Force cleanup'
schedule:
- cron: "30 14 * * *"
workflow_dispatch:
schedule:
- cron: "30 14 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
days-before-close: 3
stale-issue-message: 'This issue has been marked as stale due to inactivity and will be closed. Comment anything on this issue to prevent it'
stale-pr-message: 'This pull request has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it'
exempt-issue-labels: 'no-stale'
exempt-pr-labels: 'no-stale'
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 7
days-before-close: 3
stale-issue-message: "This issue has been marked as stale due to inactivity and will be closed. Comment anything on this issue to prevent it"
stale-pr-message: "This pull request has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it"
exempt-issue-labels: "no-stale"
exempt-pr-labels: "no-stale"