admin-vben/.github/workflows/issue-close-require.yml

32 lines
1.2 KiB
YAML
Raw Normal View History

# 每天零点运行一次,它会检查所有带有 "need reproduction" 标签的 Issues。如果这些 Issues 在过去的 3 天内没有任何活动,它们将会被自动关闭。这有助于保持 Issue 列表的整洁,并且提醒用户在必要时提供更多的信息。
2024-05-19 13:20:42 +00:00
name: Issue Close Require
# 触发条件:每天零点
2024-05-19 13:20:42 +00:00
on:
workflow_dispatch:
2024-05-19 13:20:42 +00:00
schedule:
chore(deps): bump the non-breaking-changes group with 4 updates (#4451) * chore(deps): bump the non-breaking-changes group with 4 updates Bumps the non-breaking-changes group with 4 updates: [vue](https://github.com/vuejs/core), [rollup](https://github.com/rollup/rollup), [eslint](https://github.com/eslint/eslint) and [@vue/shared](https://github.com/vuejs/core/tree/HEAD/packages/shared). Updates `vue` from 3.5.6 to 3.5.7 - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md) - [Commits](https://github.com/vuejs/core/compare/v3.5.6...v3.5.7) Updates `rollup` from 4.22.0 to 4.22.2 - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v4.22.0...v4.22.2) Updates `eslint` from 9.10.0 to 9.11.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v9.10.0...v9.11.0) Updates `@vue/shared` from 3.5.6 to 3.5.7 - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md) - [Commits](https://github.com/vuejs/core/commits/v3.5.7/packages/shared) --- updated-dependencies: - dependency-name: vue dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking-changes - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking-changes - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking-changes - dependency-name: "@vue/shared" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: non-breaking-changes ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update deps --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: vben <ann.vben@gmail.com>
2024-09-21 02:46:38 +00:00
- cron: '0 0 * * *'
2024-05-19 13:20:42 +00:00
permissions:
pull-requests: write
contents: write
issues: write
2024-05-19 13:20:42 +00:00
jobs:
close-issues:
if: github.repository == 'vbenjs/vue-vben-admin'
2024-05-19 13:20:42 +00:00
runs-on: ubuntu-latest
steps:
# 关闭未活动的 Issues
- name: Close Inactive Issues
uses: actions/stale@v9
2024-05-19 13:20:42 +00:00
with:
days-before-stale: -1 # Issues and PR will never be flagged stale automatically.
stale-issue-label: needs-reproduction # Label that flags an issue as stale.
only-labels: needs-reproduction # Only process these issues
days-before-issue-close: 3
ignore-updates: true
remove-stale-when-updated: false
close-issue-message: This issue was closed because it was open for 3 days without a valid reproduction.
close-issue-label: closed-by-action