-
-
Notifications
You must be signed in to change notification settings - Fork 785
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
5 changed files
with
39 additions
and
78 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 |
---|---|---|
|
@@ -6,8 +6,9 @@ body: | |
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report!\n | ||
**Please note that issues that do not follow the template may be closed.**\n | ||
Thanks for taking the time to fill out this bug report! | ||
⚠️ **Please note that issues that do not follow the template will be closed.** | ||
## Environment Info | ||
- type: dropdown | ||
id: version | ||
|
@@ -48,7 +49,8 @@ body: | |
- type: dropdown | ||
id: platform | ||
attributes: | ||
label: What platform\s this bug is occurring on? | ||
label: Platforms | ||
description: What platform\s this bug is occurring on? | ||
multiple: true | ||
options: | ||
- iOS | ||
|
@@ -61,7 +63,7 @@ body: | |
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Please provide a clear and concise description of what the bug is? | ||
description: Please provide a clear and concise description of what the bug is? Include screenshots or gifs if needed. | ||
placeholder: Tell us what happened? | ||
validations: | ||
required: true | ||
|
@@ -71,6 +73,8 @@ body: | |
attributes: | ||
label: Reproduction steps | ||
description: You must provide a clear list of steps and code to reproduce the problem. | ||
placeholder: ex. - drag the bottom sheet... | ||
value: "- " | ||
validations: | ||
required: true | ||
|
||
|
@@ -79,7 +83,7 @@ body: | |
attributes: | ||
label: Reproduction sample | ||
description: You must provide a reproduction sample code using **Expo Snack** [issue reproduction template](https://snack.expo.dev/@gorhom/bottom-sheet---issue-reproduction-template) | ||
placeholder: ex. [email protected] | ||
placeholder: ex. https://snack.expo.dev/@gorhom/bottom-sheet---issue-reproduction-template | ||
validations: | ||
required: true | ||
|
||
|
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 @@ | ||
name: Auto Close Issue Workflow | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
USER: ${{ github.event.issue.user.login }} | ||
REPO: "gorhom/react-native-bottom-sheet" | ||
|
||
jobs: | ||
autoclose: | ||
runs-on: ubuntu-latest | ||
if: contains(github.event.issue.body, 'snack.expo.dev') != 'true' | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Close Issue | ||
run: gh issue close "$NUMBER" --comment $'@${USER} hello! :wave:\n\nThis issue is being automatically closed because it does not follow the issue template.' --repo "$REPO" | ||
- name: Label Issue | ||
run: gh issue edit "$NUMBER" --add-label "invalid" --repo "$REPO" | ||
- name: Lock Issue | ||
run: gh issue lock "$NUMBER" -r "spam" --repo "$REPO" |
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 |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'website/**' | ||
|
||
jobs: | ||
build: | ||
|