diff options
author | Florian Dold <florian@dold.me> | 2021-08-20 13:31:06 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-20 13:31:06 +0200 |
commit | 3fb2c7a5cd0adb550308fe7db9db69453afd0515 (patch) | |
tree | b83ceffb2f45f86585f3899d0407bc1633256002 /.github | |
download | node-vendor-3fb2c7a5cd0adb550308fe7db9db69453afd0515.tar.gz node-vendor-3fb2c7a5cd0adb550308fe7db9db69453afd0515.tar.bz2 node-vendor-3fb2c7a5cd0adb550308fe7db9db69453afd0515.zip |
Squashed 'axios/' content from commit a64050a
git-subtree-dir: axios
git-subtree-split: a64050a6cfbcc708a55a7dc8030d85b1c78cdf38
Diffstat (limited to '.github')
-rw-r--r-- | .github/ISSUE_TEMPLATE.md | 31 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/---bug-report.md | 46 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/---documentation.md | 26 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/---feature-request.md | 33 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/---support-or-usage-question.md | 46 | ||||
-rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 13 | ||||
-rw-r--r-- | .github/workflows/close-issues.yml | 17 | ||||
-rw-r--r-- | .github/workflows/stale.yml | 31 |
8 files changed, 243 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..a82e473 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,31 @@ +<!-- Click "Preview" for a more readable version -- + +Please read and follow the instructions before submitting an issue: + +- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue. +- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue). +- If you aren't sure that the issue is caused by axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios). +- If you're reporting a bug, ensure it isn't already fixed in the latest axios version. +- If you need a new feature there's a chance it's already implemented in a [library](https://github.com/axios/axios/blob/master/ECOSYSTEM.md) or you can implement it using [interceptors](https://github.com/axios/axios#interceptors). +- Don't remove any title of the issue template, or it will be treated as invalid by the bot. + +**⚠️👆 Delete the instructions before submitting the issue 👆⚠️** + +--> + +#### Summary + +Describe your issue here, including as much detail as necessary. + +If you're reporting a bug, include the relevant code and stack traces to debug it (removing any private information). + +If you're requesting a feature, include some context and examples of code using it. + +#### Environment + - Axios Version [e.g. 0.18.0] + - Adapter [e.g. XHR/HTTP] + - Browser [e.g. Chrome, Safari] + - Browser Version [e.g. 22] + - Node.js Version [e.g. 13.0.1] + - OS: [e.g. iOS 12.1.0, OSX 10.13.4] + - Additional Library Versions [e.g. React 16.7, React Native 0.58.0] diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md new file mode 100644 index 0000000..8af77a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---bug-report.md @@ -0,0 +1,46 @@ +--- +name: "\U0001F41E Bug Report" +about: Report a reproducible bug +title: '' +labels: 'status:possible bug' +assignees: '' + +--- + +<!-- Click "Preview" for a more readable version -- + +Please read and follow the instructions before submitting an issue: + +- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue. +- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue). +- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios). +- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version. +- Don't remove any title of the issue template, or it will be treated as invalid by the bot. + +⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️ +--> + +#### Describe the bug +A clear and concise description of what the bug is. **If your problem is not a bug, please file under Support or Usage Question** + +#### To Reproduce +Code snippet to reproduce, ideally that will work by pasting into something like https://npm.runkit.com/axios, a hosted solution, or a repository that illustrates the issue. **If your problem is not reproducible, please file under Support or Usage Question** + +```js +// Example code here +``` + +#### Expected behavior +A clear and concise description of what you expected to happen. + +#### Environment + - Axios Version [e.g. 0.18.0] + - Adapter [e.g. XHR/HTTP] + - Browser [e.g. Chrome, Safari] + - Browser Version [e.g. 22] + - Node.js Version [e.g. 13.0.1] + - OS: [e.g. iOS 12.1.0, OSX 10.13.4] + - Additional Library Versions [e.g. React 16.7, React Native 0.58.0] + +#### Additional context/Screenshots +Add any other context about the problem here. If applicable, add screenshots to help explain. diff --git a/.github/ISSUE_TEMPLATE/---documentation.md b/.github/ISSUE_TEMPLATE/---documentation.md new file mode 100644 index 0000000..66dcb03 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---documentation.md @@ -0,0 +1,26 @@ +--- +name: "\U0001F4DA Documentation" +about: Report an error or area that needs clarification +title: '' +labels: 'type:documentation' +assignees: '' + +--- + +<!-- Click "Preview" for a more readable version -- + +If you found an area that needs clarification, feel free to open a PR or list the section/content that could be improved below + +Don't remove any title of the issue template, or it will be treated as invalid by the bot. + +⚠️👆 Feel free to refer to these instructions before submitting the issue 👆⚠️ +--> + +#### Section/Content To Improve +Quote or link to section + +#### Suggested Improvement +Identify what is confusing or incorrect and what could make it better + +#### Relevant File(s) +[e.g. README.md] diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md new file mode 100644 index 0000000..fe56760 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---feature-request.md @@ -0,0 +1,33 @@ +--- +name: "✨ Feature Request" +about: Suggest an idea or feature +title: '' +labels: 'type:feature' +assignees: '' + +--- + +<!-- Click "Preview" for a more readable version -- + +Please read and follow the instructions before submitting an issue: + +- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue. +- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue). +- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios). +- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version. +- Don't remove any title of the issue template, or it will be treated as invalid by the bot. + +⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️ +--> + +#### Is your feature request related to a problem? Please describe. +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +#### Describe the solution you'd like +A clear and concise description of what you want to happen. + +#### Describe alternatives you've considered +A clear and concise description of any alternative solutions or features you've considered. + +#### Additional context +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/---support-or-usage-question.md b/.github/ISSUE_TEMPLATE/---support-or-usage-question.md new file mode 100644 index 0000000..e73035f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---support-or-usage-question.md @@ -0,0 +1,46 @@ +--- +name: "\U0001F914 Support or Usage Question" +about: Get help using Axios +title: '' +labels: 'type:question' +assignees: '' + +--- + +<!-- Click "Preview" for a more readable version -- + +Please read and follow the instructions before submitting an issue: + +- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue. +- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue). +- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios). +- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version. +- Don't remove any title of the issue template, or it will be treated as invalid by the bot. + +⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️ +--> + +#### Describe the issue +A clear and concise description of what the issue is. + +#### Example Code +Code snippet to illustrate your question + +```js +// Example code here +``` + +#### Expected behavior, if applicable +A clear and concise description of what you expected to happen. + +#### Environment + - Axios Version [e.g. 0.18.0] + - Adapter [e.g. XHR/HTTP] + - Browser [e.g. Chrome, Safari] + - Browser Version [e.g. 22] + - Node.js Version [e.g. 13.0.1] + - OS: [e.g. iOS 12.1.0, OSX 10.13.4] + - Additional Library Versions [e.g. React 16.7, React Native 0.58.0] + +#### Additional context/Screenshots +Add any other context about the problem here. If applicable, add screenshots to help explain. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..092611e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,13 @@ +<!-- Click "Preview" for a more readable version --> + +#### Instructions + +Please read and follow the instructions before creating and submitting a pull request: + +- Create an issue explaining the feature. It could save you some effort in case we don't consider it should be included in axios. +- If you're fixing a bug, try to commit the failing test/s and the code fixing it in different commits. +- Ensure you're following our [contributing guide](https://github.com/axios/axios/blob/master/CONTRIBUTING.md). + +**⚠️👆 Delete the instructions before submitting the pull request 👆⚠️** + +Describe your pull request here. diff --git a/.github/workflows/close-issues.yml b/.github/workflows/close-issues.yml new file mode 100644 index 0000000..2127fe1 --- /dev/null +++ b/.github/workflows/close-issues.yml @@ -0,0 +1,17 @@ +name: 'Close Invalid Issues' + +on: + issues: + types: [opened] + +jobs: + auto_close_issues: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Automatically close issues that don't follow the issue template + uses: lucasbento/auto-close-issues@v1.0.2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: 'Hello! :wave: \n\nThis issue is being automatically closed because it does not follow the issue template. Please read the issue template carefully and follow all of the instructions when opening a new issue. \n\nThanks' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..1ad2c3a --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,31 @@ +name: 'Close Stale' + +on: + schedule: + - cron: '0 0 * * 1' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - name: Close Stale Issues + uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: | + Hello! :wave: + + This issue is being automatically marked as stale because it has not been updated in a while. Please confirm that the issue is still present and reproducible. If no updates or new comments are received the issue will be closed in a few days. + + Thanks. + stale-pr-message: | + Hello! :wave: + + This pull request is being automatically marked as stale because it has not been updated in a while. Please confirm that the issue is still present and reproducible. If no updates or new comments are received the pull request will be closed in a few days. + + Thanks. + stale-issue-label: 'status:stale' + stale-pr-label: 'status:stale' + only-labels: 'status:more info needed' + days-before-stale: 30 + days-before-close: 14 |