Spaces:
Configuration error
Configuration error
update workflow
Browse files
.github/workflows/stale-issues.yml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Close inactive issues
|
| 2 |
+
on:
|
| 3 |
+
schedule:
|
| 4 |
+
- cron: "30 1 * * *"
|
| 5 |
+
|
| 6 |
+
jobs:
|
| 7 |
+
close-issues:
|
| 8 |
+
runs-on: ubuntu-latest
|
| 9 |
+
permissions:
|
| 10 |
+
issues: write
|
| 11 |
+
pull-requests: write
|
| 12 |
+
steps:
|
| 13 |
+
- uses: actions/stale@v5
|
| 14 |
+
with:
|
| 15 |
+
days-before-issue-stale: 30
|
| 16 |
+
days-before-issue-close: 14
|
| 17 |
+
stale-issue-label: "stale"
|
| 18 |
+
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity."
|
| 19 |
+
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale."
|
| 20 |
+
days-before-pr-stale: -1
|
| 21 |
+
days-before-pr-close: -1
|
| 22 |
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|