/
githubmirror
/
GoFrame
Обзор
Документация
Войти
/
githubmirror
/
GoFrame
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
.github/workflows/issue-close-inactive.yml
23 строки
662 B
lingcoder
fix issue bot :ignore issue which without labels (#2077)
14 сен 2022, 10:44
Не верифицирован
14 сен 2022, 10:44
508062f
Код
Авторство
О чём код?
# 规则描述:每天凌晨4点(GMT+8)执行一次,将最近30天没有活跃且非BUG的ISSUE关闭 name: Issue Close Inactive on: schedule: - cron: "0 20 * * *" env: # 设置环境变量 TZ: Asia/Shanghai #时区(设置时区可使页面中的`最近更新时间`使用时区时间) jobs: close-issues: runs-on: ubuntu-latest steps: - name: need close uses: actions-cool/issues-helper@v3 with: actions: "close-issues" # token: ${{ secrets.GF_TOKEN }} labels: 'inactive' inactive-day: 30 exclude-labels: 'bug,$exclude-empty' close-reason: 'not active'