-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename autoclose.yml to close-stale.yml
- Loading branch information
Showing
2 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,29 @@ | ||
name: Close stale issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 8 * * *" | ||
workflow_dispatch: | ||
# inputs: | ||
# name: | ||
# description: 'Person to greet' | ||
# required: true | ||
# default: 'Mona the Octocat' | ||
# home: | ||
# description: 'location' | ||
# required: false | ||
# default: 'The Octoverse' | ||
|
||
jobs: | ||
auto-close: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Close stale issues | ||
uses: actions/stale@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 180 | ||
days-before-close: 180 | ||
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. This issue will be automatically closed.' |