Skip to content

Commit

Permalink
Add auto-archive action for stale PRs/issues (octobercms#4646)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo authored Sep 30, 2019
1 parent 882ca60 commit 72986db
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/archive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Archive

on:
schedule:
- cron: "0 0 * * *"

jobs:
archive:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 3
stale-issue-message: 'This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this issue is still relevant or you would like to see action on it, please respond and we will get the ball rolling.'
stale-pr-message: 'This pull request will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this is still being worked on, please respond and we will re-open this pull request.'
stale-issue-label: 'Status: Archived'
stale-pr-label: 'Status: Archived'
exempt-issue-label: 'Status: In Progress'
exempt-pr-label: 'Status: In Progress'

0 comments on commit 72986db

Please sign in to comment.