You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/workflows/invalid_question.yml
+9-3
Original file line number
Diff line number
Diff line change
@@ -3,20 +3,26 @@ on:
3
3
schedule:
4
4
- cron: "*/10 * * * *"
5
5
6
+
permissions:
7
+
contents: read
8
+
6
9
jobs:
7
10
stale:
11
+
permissions:
12
+
issues: write # for actions/stale to close stale issues
13
+
pull-requests: write # for actions/stale to close stale PRs
8
14
runs-on: ubuntu-latest
9
15
env:
10
16
ACTIONS_STEP_DEBUG: true
11
17
steps:
12
18
- name: Close Stale Issues
13
-
uses: actions/stale@v4
19
+
uses: actions/stale@v5
14
20
with:
15
21
repo-token: ${{ secrets.GITHUB_TOKEN }}
16
-
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) ✨"
22
+
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 30 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) ✨"
Copy file name to clipboardexpand all lines: .github/workflows/missing_playground.yml
+9-3
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,25 @@ on:
3
3
schedule:
4
4
- cron: "*/10 * * * *"
5
5
6
+
permissions:
7
+
contents: read
8
+
6
9
jobs:
7
10
stale:
11
+
permissions:
12
+
issues: write # for actions/stale to close stale issues
13
+
pull-requests: write # for actions/stale to close stale PRs
8
14
runs-on: ubuntu-latest
9
15
env:
10
16
ACTIONS_STEP_DEBUG: true
11
17
steps:
12
18
- name: Close Stale Issues
13
-
uses: actions/stale@v4
19
+
uses: actions/stale@v5
14
20
with:
15
21
repo-token: ${{ secrets.GITHUB_TOKEN }}
16
-
stale-issue-message: "The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout [https://github.com/go-gorm/playground](https://github.com/go-gorm/playground) for details. it will be closed in 2 days if no further activity occurs. if you are asking question, please use the `Question` template, 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) ✨"
22
+
stale-issue-message: "The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout [https://github.com/go-gorm/playground](https://github.com/go-gorm/playground) for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the `Question` template, 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) ✨"
Copy file name to clipboardexpand all lines: .github/workflows/stale.yml
+10-4
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,25 @@ on:
3
3
schedule:
4
4
- cron: "0 2 * * *"
5
5
6
+
permissions:
7
+
contents: read
8
+
6
9
jobs:
7
10
stale:
11
+
permissions:
12
+
issues: write # for actions/stale to close stale issues
13
+
pull-requests: write # for actions/stale to close stale PRs
8
14
runs-on: ubuntu-latest
9
15
env:
10
16
ACTIONS_STEP_DEBUG: true
11
17
steps:
12
18
- name: Close Stale Issues
13
-
uses: actions/stale@v4
19
+
uses: actions/stale@v5
14
20
with:
15
21
repo-token: ${{ secrets.GITHUB_TOKEN }}
16
-
stale-issue-message: "This issue has been automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days"
17
-
days-before-stale: 60
18
-
days-before-close: 30
22
+
stale-issue-message: "This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days"
0 commit comments