mirror of https://github.com/go-gorm/gorm.git
23 lines
1.1 KiB
YAML
23 lines
1.1 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@v3.0.7
|
||
|
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"
|
||
|
|