Files
element-plus/.github/workflows/issue-inactive.yml
2026-01-04 14:32:54 +08:00

53 lines
1.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Issue Inactive
on:
schedule:
# GMT+8 00:00
- cron: '0 16 * * *'
jobs:
close-issues:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: need reproduction
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'need reproduction'
inactive-day: 3
- name: needs more info
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'needs more info'
inactive-day: 3
body: |
Since the issue was labeled with `needs-more-info`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue若有任何问题可评论回复。
lock-issues:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: lock-issues
uses: actions-cool/issues-helper@v3
with:
actions: 'lock-issues'
token: ${{ secrets.GITHUB_TOKEN }}
issue-state: closed
labels: 'inactive'
inactive-day: 30
check-inactive:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'element-plus' }}
steps:
- name: check-inactive
uses: actions-cool/issues-helper@v3
with:
actions: 'check-inactive'
inactive-day: 30
exclude-issue-numbers: '15834'