Skip to content

Commit 1662a89

Browse files
authored
Merge pull request #705 from Azure-Samples/jennyf/templates
update github templates
2 parents c8432b4 + 8d15b8a commit 1662a89

File tree

4 files changed

+138
-118
lines changed

4 files changed

+138
-118
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Microsoft Open Source Code of Conduct
2+
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4+
5+
Resources:
6+
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [[email protected]](mailto:[email protected]) with questions or concerns

.github/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,20 @@
1-
## Purpose
2-
<!-- Describe the intention of the changes being proposed. What problem does it solve or functionality does it add? -->
3-
* ...
1+
# {PR title}
2+
<!-- Thank you for submitting a pull request to our repo. -->
43

5-
## Does this introduce a breaking change?
6-
<!-- Mark one with an "x". -->
7-
```
8-
[ ] Yes
9-
[ ] No
10-
```
4+
<!-- If this is your first PR in the ASP.NET Core repo, please run through the checklist
5+
below to ensure a smooth review and merge process for your PR. -->
116

12-
## Pull Request Type
13-
What kind of change does this Pull Request introduce?
7+
- [ ] You've read the [Contributor Guide](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/CODE-OF-CONDUCT.md).
8+
- [ ] You've included unit or integration tests for your change, where applicable.
9+
- [ ] You've included inline docs for your change, where applicable.
10+
- [ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
1411

15-
<!-- Please check the one that applies to this PR using "x". -->
16-
```
17-
[ ] Bugfix
18-
[ ] Feature
19-
[ ] Code style update (formatting, local variables)
20-
[ ] Refactoring (no functional changes, no api changes)
21-
[ ] Documentation content changes
22-
[ ] Other... Please describe:
23-
```
12+
<!-- Once all that is done, you're ready to go. Open the PR with the content below. -->
2413

25-
## How to Test
26-
* Get the code
14+
Summary of the changes (Less than 80 chars)
2715

28-
```
29-
git clone [repo-address]
30-
cd [repo-name]
31-
git checkout [branch-name]
32-
npm install
33-
```
16+
## Description
3417

35-
* Test the code
36-
<!-- Add steps to run the tests suite and/or manually test -->
37-
```
38-
```
18+
{Detail}
3919

40-
## What to Check
41-
Verify that the following are valid
42-
* ...
43-
44-
## Other Information
45-
<!-- Add any other helpful information that may be needed here. -->
20+
Fixes #{bug number} (in this specific format)

.github/bug_report.yml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
name: Bug report
2+
description: Broken or unintended behavior with one of the samples.
3+
labels: [bug-unconfirmed, question]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
## Issue details
9+
10+
- type: input
11+
attributes:
12+
label: Microsoft.Identity.Web version
13+
description: "Please enter the latest version this issue can be reproduced in. "
14+
placeholder: "2.11.1"
15+
validations:
16+
required: true
17+
18+
- type: dropdown
19+
attributes:
20+
label: Web app sign-in
21+
options:
22+
- "1-WebApp-OIDC/1-1-MyOrg"
23+
- "1-WebApp-OIDC/1-2-AnyOrg"
24+
- "1-WebApp-OIDC/1-3-AnyOrgOrPersonal"
25+
- "1-WebApp-OIDC/1-4-Sovereign"
26+
- "1-WebApp-OIDC/1-5-B2C"
27+
- "1-WebApp-OIDC/1-6-SignOut"
28+
- "Not applicable"
29+
validations:
30+
required: true
31+
32+
- type: dropdown
33+
attributes:
34+
label: Web API (call Graph or downstream APIs)
35+
options:
36+
- "2-WebApp-graph-user/2-1-Call-MSGraph"
37+
- "2-WebApp-graph-user/2-2-TokenCache"
38+
- "2-WebApp-graph-user/2-3-Multi-Tenant"
39+
- "2-WebApp-graph-user/2-4-Sovereign-Call-MSGraph"
40+
- "2-WebApp-graph-user/2-5-HybridFlow"
41+
- "2-WebApp-graph-user/2-6-BFF-Proxy"
42+
- "3-WebApp-multi-APIs"
43+
- "4-WebApp-your-API/4-1-MyOrg"
44+
- "4-WebApp-your-API/4-2-B2C"
45+
- "4-WebApp-your-API/4-3-AnyOrg"
46+
- "Not applicable"
47+
validations:
48+
required: true
49+
50+
- type: dropdown
51+
attributes:
52+
label: Deploy to Azure
53+
options:
54+
- "5-WebApp-AuthZ/5-1-Roles"
55+
- "5-WebApp-AuthZ/5-2-Groups"
56+
- "Not applicable"
57+
validations:
58+
required: true
59+
60+
- type: dropdown
61+
attributes:
62+
label: Auth Z
63+
options:
64+
- "6-Deploy-to-Azure"
65+
- "Not applicable"
66+
validations:
67+
required: true
68+
69+
- type: textarea
70+
attributes:
71+
label: Description
72+
description: "Please briefly describe your issue. "
73+
validations:
74+
required: true
75+
76+
- type: textarea
77+
attributes:
78+
label: Reproduction steps
79+
description: "Please provide clear steps to reproduce or a link to a sample which demonstrates this behavior."
80+
placeholder: |
81+
1.
82+
2.
83+
3.
84+
validations:
85+
required: true
86+
87+
- type: textarea
88+
attributes:
89+
label: Error message
90+
description: "Please provide any error messages you are receiving and a stack trace. Do not include PII. "
91+
92+
- type: textarea
93+
attributes:
94+
label: Id Web logs
95+
description: "Please provide verbose level log messages. See https://aka.ms/ms-id-web/logging for details on setting up the logs. You can enable Middleware diagnostics by uncommenting the following [lines](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/418e4880ce3307befb25c7af600a886560cadcaa/Microsoft.Identity.Web/StartupHelpers.cs#L81-L83)"
96+
97+
- type: textarea
98+
attributes:
99+
label: Relevant code snippets
100+
description: "Please provide relevant code snippets that can be used to reproduce this issue."
101+
render: csharp
102+
validations:
103+
required: true
104+
105+
- type: input
106+
attributes:
107+
label: Regression
108+
description: "If this behavior worked before, please enter the last working version(s)."
109+
placeholder: "Id Web 2.11.1"
110+
111+
- type: textarea
112+
attributes:
113+
label: Expected behavior
114+
description: "Please describe what you expect the behavior to be. "
115+
validations:
116+
required: true

0 commit comments

Comments
 (0)