-
Notifications
You must be signed in to change notification settings - Fork 1k
24 lines (24 loc) · 1.11 KB
/
stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Close inactive PRs
on:
schedule:
# 北京时间 0,6,12,18 点
- cron: "0 2,8,14,20 * * *"
workflow_dispatch:
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: -1
days-before-issue-close: -1
stale-pr-message: "请注意回应审阅人的审阅意见,若 24 小时内不回应,该 PR 即将被关闭。相关规则见[贡献方针](https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/blob/main/CONTRIBUTING.md#搁置规则)。"
close-pr-message: "因你的回应时间超过时限,该 PR 已因搁置而被关闭。如需再次提交可重新打开(Reopen)该 PR,感谢贡献:heart:。相关规则见[贡献方针](https://github.com/CFPAOrg/Minecraft-Mod-Language-Package/blob/main/CONTRIBUTING.md#搁置规则)。"
days-before-pr-stale: 7
days-before-pr-close: 1
any-of-pr-labels: "即将被搁置"
stale-pr-label: "即将拒收"
repo-token: ${{ secrets.GITHUB_TOKEN }}