-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
51 changed files
with
1,321 additions
and
960 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,62 @@ | ||
name: 🪲 Bug report | ||
description: Create a report to help us improve | ||
|
||
body: | ||
- type: checkboxes | ||
id: prerequisites | ||
attributes: | ||
label: Prerequisites | ||
options: | ||
- label: I have written a descriptive issue title | ||
required: true | ||
- label: | | ||
I have searched existing issues to ensure the bug has not already been reported | ||
required: true | ||
- type: input | ||
id: mongoose-version | ||
attributes: | ||
label: Mongoose version | ||
placeholder: 6.x.x | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: node-version | ||
attributes: | ||
label: Node.js version | ||
placeholder: 14.x | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: mongo-version | ||
attributes: | ||
label: MongoDB server version | ||
placeholder: 5.x | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: Steps to Reproduce | ||
description: | | ||
List of steps, sample code, or a link to code or a project that reproduces the behavior. | ||
Make sure you place a stack trace inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen. |
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,5 @@ | ||
blank_issues_enabled: false | ||
documentation: | ||
- name: 📘 Documentation | ||
url: https://mongoosejs.com/docs/guide.html | ||
about: Mongoose Docs |
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,37 @@ | ||
name: 🚀 Feature Proposal | ||
description: Submit a proposal for a new feature | ||
labels: ['enhancement', 'new feature'] | ||
|
||
body: | ||
- type: checkboxes | ||
id: prerequisites | ||
attributes: | ||
label: Prerequisites | ||
options: | ||
- label: I have written a descriptive issue title | ||
required: true | ||
- label: | | ||
I have searched existing issues to ensure the feature has not already been requested | ||
required: true | ||
- type: textarea | ||
id: proposal | ||
attributes: | ||
label: 🚀 Feature Proposal | ||
description: A clear and concise description of what the feature is. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: motivation | ||
attributes: | ||
label: Motivation | ||
description: The motivation for the proposal. | ||
|
||
- type: textarea | ||
id: example | ||
attributes: | ||
label: Example | ||
description: | | ||
An example for how this feature would be used. | ||
Make sure you place example code inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues. |
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,67 @@ | ||
name: 🙋 Help | ||
description: Open an issue and request for individual help | ||
labels: ['help', 'help wanted'] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Before you submit an issue we recommend to read the [documentation](https://mongoosejs.com/docs/guide.html). | ||
- type: checkboxes | ||
id: prerequisites | ||
attributes: | ||
label: Prerequisites | ||
options: | ||
- label: I have written a descriptive issue title | ||
required: true | ||
|
||
- type: input | ||
id: mongoose-version | ||
attributes: | ||
label: Mongoose version | ||
placeholder: 6.x.x | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: node-version | ||
attributes: | ||
label: Node.js version | ||
placeholder: 14.x | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: mongo-version | ||
attributes: | ||
label: MongoDB version | ||
placeholder: 5.x | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: Operating system | ||
options: | ||
- Linux | ||
- macOS | ||
- Windows | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
id: os-version | ||
attributes: | ||
label: Operating system version (i.e. 20.04, 11.3, 10) | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: text | ||
attributes: | ||
label: Issue | ||
description: | | ||
Give as much detail as you can to help us understand. | ||
Make sure you place example code inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues. |
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,22 @@ | ||
name: ❔ Other | ||
description: Open an issue that is not feature or bug related | ||
|
||
body: | ||
- type: checkboxes | ||
id: prerequisites | ||
attributes: | ||
label: Prerequisites | ||
options: | ||
- label: I have written a descriptive issue title | ||
required: true | ||
- label: | | ||
I have searched existing issues to ensure the issue has not already been raised | ||
required: true | ||
- type: textarea | ||
id: text | ||
attributes: | ||
label: Issue | ||
description: | | ||
Give as much detail as you can to help us understand. | ||
Make sure you place example code inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues. |
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,63 @@ | ||
name: 🦥 Performance issue | ||
description: Report a performance issue | ||
labels: ['performance'] | ||
|
||
body: | ||
- type: checkboxes | ||
id: prerequisites | ||
attributes: | ||
label: Prerequisites | ||
options: | ||
- label: I have written a descriptive issue title | ||
required: true | ||
- label: | | ||
I have searched existing issues to ensure the performance issue has not already been reported | ||
required: true | ||
- type: input | ||
id: working-version | ||
attributes: | ||
label: Last performant version | ||
placeholder: 1.x.x | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: stopped-working-version | ||
attributes: | ||
label: Slowed down in version | ||
placeholder: 2.x.x | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: node-version | ||
attributes: | ||
label: Node.js version | ||
placeholder: 14.x | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: 🦥 Performance issue | ||
description: A clear and concise description of what the performance issue is. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: Steps to Reproduce | ||
description: | | ||
List of steps, sample code, or a link to code or a project that reproduces the behavior. | ||
Make sure you place a stack trace inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear and concise description of what you expected to happen. |
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,6 @@ | ||
name: "codeql config" | ||
|
||
languages: | ||
- 'javascript' | ||
paths: | ||
- lib |
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,47 @@ | ||
name: "Code Scanning - Action" | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'lib/**' | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'lib/**' | ||
|
||
jobs: | ||
CodeQL-Build: | ||
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
# required for all workflows | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
config-file: ./.github/codeql/codeql-config.yml | ||
# Override language selection by uncommenting this and choosing your languages | ||
# with: | ||
# languages: go, javascript, csharp, python, cpp, java | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following | ||
# three lines and modify them (or add more) to build your code if your | ||
# project uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
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
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.