Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 19:30 UTC
feat: close stale issues (#2009)
Rahul Tarak committed
Sep 29, 2025 at 16:02 UTC
bacbcf056bd574a0985a10cb8d26911b20a14e3d
1 file changed
+46
.github/workflows/stale.yml
new
+46
@@ -0,0 +1,46 @@
1
+name: Close Stale Issues and PRs
2
+
3
+on:
4
+ schedule:
5
+ # Run daily at 00:00 UTC
6
+ - cron: "0 0 * * *"
7
+ workflow_dispatch:
8
+
9
+permissions:
10
+ issues: write
11
+ pull-requests: write
12
+
13
+jobs:
14
+ stale:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Close Stale Issues
18
+ uses: actions/stale@v10.0.0
19
+ with:
20
+ # General settings
21
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
22
+ days-before-stale: 60
23
+ days-before-close: 2
24
+ ascending: true
25
+
26
+ # Issue settings
27
+ stale-issue-label: "stale"
28
+ exempt-issue-labels: "pinned,security,bug,needs-triage,roadmap,enhancement,good first issue"
29
+ stale-issue-message: |
30
+ beep boop inactive for 60 days, closing in 48 hours
31
+ close-issue-message: |
32
+ closed due to inactivity. feel free to reopen if the issue persists.
33
+
34
+ # Pull request settings
35
+ stale-pr-label: "stale"
36
+ exempt-pr-labels: "pinned,security,needs-review,work-in-progress,dependencies"
37
+ stale-pr-message: |
38
+ beep boop inactive for 60 days, closing in 48 hours
39
+ close-pr-message: |
40
+ closed due to inactivity. feel free to reopen if still relevant.
41
+
42
+ # Optional: Remove stale label when updated
43
+ remove-stale-when-updated: true
44
+
45
+ # Enable debug logs (set to false in production)
46
+ debug-only: false