-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e56edb3
commit 78f3ccc
Showing
2 changed files
with
28 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
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: 14 | ||
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: 15 | ||
pr-inactive-days: 15 |
This file was deleted.
Oops, something went wrong.