XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Add a GitHub workflow to close inactive issues automatically

8de379b1
nonk123 <Sergeyii321@gmail.com>
提交于

代码差异

1 个文件 +31 -0
Added .github/workflows/close-inactive-issues.yml +31 -0
@@ -0,0 +1,31 @@
1 name: Close inactive issues
2
3 on:
4 schedule:
5 - cron: "5 0 * * *"
6
7 jobs:
8 close-issues:
9 runs-on: ubuntu-latest
10 permissions:
11 issues: write
12 pull-requests: write
13 steps:
14 - uses: actions/stale@v5
15 with:
16 days-before-issue-stale: 7
17 days-before-issue-close: 7
18
19 days-before-pr-stale: 7
20 days-before-pr-close: 7
21
22 stale-issue-label: "stale"
23 stale-pr-label: "stale"
24
25 stale-issue-message: "Bumping this isuse because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again."
26 close-issue-message: "Closing due to inactivity."
27
28 stale-pr-message: "Bumping this pull request because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again."
29 close-pr-message: "Closing due to inactivity."
30
31 repo-token: ${{ secrets.GITHUB_TOKEN }}