Skip to content

Commit

Permalink
Update and rename autoclose.yml to close-stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dca authored Aug 3, 2023
1 parent 145bd05 commit f1bebfc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/autoclose.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/close-stale.yml
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.'

0 comments on commit f1bebfc

Please sign in to comment.