Skip to content

Commit

Permalink
chore: update stale action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Sep 3, 2021
1 parent f46b404 commit 42d08f7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/stale.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Closing Stale Issues

permissions:
issues: write
pull-requests: write

on:
schedule:
- cron: '0 21 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/[email protected]
with:
days-before-stale: 730
days-before-close: 7
stale-issue-label: stale
stale-pr-label: stale
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.'
close-issue-message: 'This issue has been automatically closed because it has not had recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. We are sorry for this but 2 years is a long time and the code base has been changed a lot. Thanks for your contribution anyway.'
close-pr-message: 'This PR has been automatically closed because it has not had recent activity. Sorry for that and we are looking forward to your next contribution.'
exempt-issue-labels:
- 'FAQ'
- 'priority: high'
operations-per-run: 50
ascending: true

0 comments on commit 42d08f7

Please sign in to comment.