-
Notifications
You must be signed in to change notification settings - Fork 558
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
3,545 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# For more information, please refer to https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
||
* @cloudwego/hertz-reviewers @cloudwego/hertz-approvers @cloudwego/hertz-maintainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Question | ||
about: Ask a question, so we can help you easily | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the Question** | ||
|
||
A clear and concise description of what the question is. | ||
|
||
**Reproducible Code** | ||
|
||
Please construct a minimum complete and reproducible example for us to get the same error. And tell us how to reproduce it like how you send a request or send what request. | ||
|
||
**Expected behavior** | ||
|
||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
|
||
If applicable, add screenshots to help explain your question. | ||
|
||
**Hertz version:** | ||
|
||
Please provide the version of Hertz you are using. | ||
|
||
**Environment:** | ||
|
||
The output of `go env`. | ||
|
||
**Additional context** | ||
|
||
Add any other context about the question here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"labels": { | ||
"invalid_issue": { | ||
"name": "invalid issue", | ||
"colour": "#CF2E1F", | ||
"description": "invalid issue (not related to Hertz or described in document or not enough information provided)" | ||
} | ||
}, | ||
"issue": { | ||
"invalid_issue": { | ||
"requires": 3, | ||
"conditions": [ | ||
{ | ||
"type": "descriptionMatches", | ||
"pattern": "/^((?!Describe the bug).)*$/is" | ||
}, | ||
{ | ||
"type": "descriptionMatches", | ||
"pattern": "/^((?!Is your feature request related to a problem\\? Please describe).)*$/is" | ||
}, | ||
{ | ||
"type": "descriptionMatches", | ||
"pattern": "/^((?!Describe the Question).)*$/is" | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Close Invalid Issue" | ||
on: | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
stale: | ||
permissions: | ||
issues: write | ||
runs-on: ubuntu-latest | ||
env: | ||
ACTIONS_STEP_DEBUG: true | ||
steps: | ||
- name: Close Stale Issues | ||
uses: actions/stale@v6 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: "This issue has been marked as invalid question, please give more information by following the `issue` template. The issue will be closed in 3 days if no further activity occurs." | ||
stale-issue-label: "stale" | ||
days-before-stale: 0 | ||
days-before-close: 3 | ||
remove-stale-when-updated: true | ||
only-labels: "invalid issue" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Labeler" | ||
on: | ||
issues: | ||
types: [ opened, edited, reopened ] | ||
|
||
jobs: | ||
triage: | ||
if: contains(github.event.issue.labels.*.name, 'invalid issue') || join(github.event.issue.labels) == '' | ||
runs-on: ubuntu-latest | ||
name: Label issues | ||
steps: | ||
- name: check out | ||
uses: actions/checkout@v3 | ||
|
||
- name: labeler | ||
uses: jbinda/super-labeler-action@develop | ||
with: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.