Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Add stale workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd committed Sep 8, 2020
1 parent ef3ec23 commit f0d93a4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Stale

on:
issues:
types: [reopened]
schedule:
- cron: "*/60 * * * *"

jobs:
stale:

runs-on: ubuntu-latest
env:
ACTIONS_STEP_DEBUG: true
steps:
- uses: actions/stale@v3.0.10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
days-before-stale: 7
days-before-close: 2
exempt-issue-labels: 'discussion,help wanted,long running'
exempt-pr-labels: 'awaiting-approval,work-in-progress'
remove-stale-when-updated: true

0 comments on commit f0d93a4

Please sign in to comment.