![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.7 to 4. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v3.0.7...v4) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
23 lines
1.0 KiB
YAML
23 lines
1.0 KiB
YAML
name: "Close invalid questions issues"
|
|
on:
|
|
schedule:
|
|
- cron: "*/10 * * * *"
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
ACTIONS_STEP_DEBUG: true
|
|
steps:
|
|
- name: Close Stale Issues
|
|
uses: actions/stale@v4
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-issue-message: "This issue has been marked as invalid question, please give more information by following the `Question` template, if you believe there is a bug of GORM, please create a pull request that could reproduce the issue on [https://github.com/go-gorm/playground](https://github.com/go-gorm/playground), the issue will be closed in 2 days if no further activity occurs. most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ [Search Before Asking](https://stackoverflow.com/help/how-to-ask) ✨"
|
|
stale-issue-label: "status:stale"
|
|
days-before-stale: 0
|
|
days-before-close: 2
|
|
remove-stale-when-updated: true
|
|
only-labels: "type:invalid question"
|
|
|