-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-756460 Add close stale issue action (#1468)
* SNOW-756460 Add close stale issue action * make sure only issue is processed * add link * add GITHUB_TOKEN
- Loading branch information
1 parent
372286a
commit ed4dbdd
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Close Stale Issues | ||
description: "Close issues with no recent activity" | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
staleDays: | ||
description: "Days before an issue being marked as stale and closed" | ||
required: true | ||
|
||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v7 | ||
with: | ||
close-issue-message: 'To clean up and re-prioritize bugs and feature requests we are closing all issues older than 6 months as of March 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' | ||
days-before-issue-stale: ${{ inputs.staleDays }} | ||
days-before-pr-stale: -1 | ||
# Stale issues are closed immediately | ||
days-before-issue-close: 0 | ||
days-before-pr-close: -1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |