forked from duckdb/duckdb
-
Notifications
You must be signed in to change notification settings - Fork 3
28 lines (27 loc) · 1.12 KB
/
IssuesCloseStale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Close Stale Issues
on:
repository_dispatch:
workflow_dispatch:
jobs:
close_stale_issues:
permissions:
actions: write
contents: write # only for delete-branch option
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v9
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
close-issue-message: 'This issue was closed because it has been stale for 30 days with no activity.'
close-pr-message: 'This pull request was closed because it has been stale for 30 days with no activity.'
days-before-stale: 90
days-before-close: 30
operations-per-run: 500
stale-issue-label: stale
stale-pr-label: stale