Skip to content

lock-slate-issues

lock-slate-issues #324

Workflow file for this run

name: 'lock-slate-issues'
on:
schedule:
- cron: '0 8 * * *'
jobs:
lock:
permissions:
issues: write # to lock issues
pull-requests: write # to lock PRs
runs-on: ubuntu-latest
steps:
- uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
token: ${{ secrets.ROBOT_TOKEN }}
inactive-day: 59
body: |
This issue has been automatically closed since there has not been any recent activity after it was created. Please open a new issue for related bugs.
由于该 issue 创建后没有任何近期活动,因此已被自动关闭,请针对相关问题打开一个新 issue 。
- uses: dessant/lock-threads@v4
with:
log-output: true
github-token: ${{ secrets.ROBOT_TOKEN }}
issue-inactive-days: 60
pr-inactive-days: 60