Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit f9f39d9

Browse files
committed
chore: update issue template
1 parent 65de34e commit f9f39d9

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
**Current Behavior**
2+
3+
- What code are you running and what is happening?
4+
- Include a screenshot or video if it makes sense.
5+
6+
**Expected Behavior**
7+
8+
- What do you expect should be happening?
9+
- Include a screenshot or video if it makes sense.
10+
11+
**How to reproduce**
12+
13+
- You must provide a way to reproduce the problem. If you are having an issue with your machine or build tools, the issue belongs on another repository as that is outside of the scope of React Navigation.
14+
- Either re-create the bug on [Snack](https://snack.expo.io) or link to a GitHub repository with code that reproduces the bug.
15+
- Explain how to run the example app and any steps that we need to take to reproduce the issue from the example app.
16+
- Keep the repro code as simple as possible, with the minimum amount of code required to repro the issue.
17+
- Before reporting an issue, make sure you are on latest version of the package.
18+
19+
**Your Environment**
20+
21+
| software | version |
22+
| ---------------------------- | ------- |
23+
| iOS or Android |
24+
| react-navigation |
25+
| react-navigation-drawer |
26+
| react-native-gesture-handler |
27+
| react-native-reanimated |
28+
| react-native-screens |
29+
| react-native |
30+
| expo |
31+
| node |
32+
| npm or yarn |

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Please provide enough information so that others can review your pull request:
2+
3+
**Motivation**
4+
5+
Explain the **motivation** for making this change. What existing problem does the pull request solve?
6+
7+
**Test plan**
8+
9+
Demonstrate the code is solid. Example: the exact commands you ran and their output, screenshots / videos if the pull request changes UI.
10+
11+
Make sure you test on both platforms if your change affects both platforms.
12+
13+
The code must pass tests.
14+
15+
**Code formatting**
16+
17+
Look around. Match the style of the rest of the codebase. Run `yarn lint --fix` before committing.

.github/workflows/stale.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Close stale issues and pull requests"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v1
11+
with:
12+
repo-token: ${{ secrets.GITHUB_TOKEN }}
13+
stale-issue-message: 'Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.'
14+
stale-pr-message: 'Hello 👋, this pull request has been open for more than 2 months with no activity on it. If you think this is still necessary with the latest version, please comment and ping a maintainer to get this reviewed, otherwise it will be closed automatically in 7 days.'
15+
exempt-issue-label: 'Keep opened'
16+
exempt-pr-label: 'Keep opened'

0 commit comments

Comments
 (0)