Skip to content

Commit 7baaa1a

Browse files
authored
SNOW-760002: add stale issue clean bot (snowflakedb#401)
1 parent b161892 commit 7baaa1a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/stale_issue_bot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Close Stale Issues
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
staleDays:
6+
required: true
7+
8+
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v7
14+
with:
15+
close-issue-message: 'To clean up and re-prioritize bugs and feature requests we are closing all issues older than 6 months as of Apr 1, 2023. If there are any issues or feature requests that you would like us to address, please re-create them. For urgent issues, opening a support case with this link [Snowflake Community](https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge) is the fastest way to get a response'
16+
days-before-issue-stale: ${{ inputs.staleDays }}
17+
days-before-pr-stale: -1
18+
# Stale issues are closed immediately
19+
days-before-issue-close: 0
20+
days-before-pr-close: -1
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)