Skip to content

Commit 8b578ef

Browse files
authored
Merge pull request #40289 from github/repo-sync
Repo sync
2 parents 61418ee + e125cee commit 8b578ef

File tree

3 files changed

+119
-7
lines changed

3 files changed

+119
-7
lines changed

content/admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ When you configure CAS, LDAP, or SAML authentication (without SCIM), {% data var
114114

115115
1. {% data variables.product.github %} will normalize any non-alphanumeric character in your account's username into a dash. For example, a username of `mona.the.octocat` will be normalized to `mona-the-octocat`. Note that normalized usernames also can't start or end with a dash. They also can't contain two consecutive dashes.
116116

117+
1. The letter casing in the value provided by the IdP is preserved in the normalized username.
118+
117119
1. Usernames created from email addresses are created from the normalized characters that precede the `@` character.
118120

119121
1. Usernames created from domain accounts are created from the normalized characters after the `\\` separator.
@@ -124,12 +126,12 @@ When you configure CAS, LDAP, or SAML authentication (without SCIM), {% data var
124126

125127
| Identifier on provider | Normalized username on {% data variables.product.prodname_dotcom_the_website %} | Result |
126128
| :- | :- | :- |
127-
| The.Octocat | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is created successfully. |
128-
| !The.Octocat | `-the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it starts with a dash. |
129-
| The!!Octocat | `the--octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it contains two consecutive dashes. |
130-
| The!Octocat | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. |
131-
| `[email protected]` | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. |
132-
| `internal\\The.Octocat` | `the-octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. |
129+
| The.Octocat | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is created successfully. |
130+
| !The.Octocat | `-The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it starts with a dash. |
131+
| The!!Octocat | `The--Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it contains two consecutive dashes. |
132+
| The!Octocat | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. |
133+
| `[email protected]` | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. |
134+
| `internal\\The.Octocat` | `The-Octocat{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created. Although the normalized username is valid, it already exists. |
133135
| `[email protected]` | `mona-lisa-the-octocat-from-github-united-states{% ifversion ghec %}_SHORT-CODE{% endif %}` | This username is not created, because it exceeds the 39-character limit. |
134136

135137
{% ifversion ghes %}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
title: Generating tables
3+
shortTitle: Generate tables
4+
intro: '{% data variables.copilot.copilot_chat_short %} can help you create tables to organize information and present it clearly.'
5+
versions:
6+
feature: copilot
7+
complexity:
8+
- Simple
9+
octicon: copilot
10+
category:
11+
- Communicate effectively
12+
topics:
13+
- Copilot
14+
contentType: tutorials
15+
---
16+
17+
{% data variables.copilot.copilot_chat %} can help you create tables for various purposes, such as organizing data, comparing options, or summarizing information. By using tables, you can present information in a clear and structured way that is easy to read and understand. You can ask {% data variables.copilot.copilot_chat_short %} to generate tables based on existing data or to create empty tables based on your specific requirements.
18+
19+
## Example scenario
20+
21+
You want to create a reference table for the people on your team, including their roles and availability. You can ask {% data variables.copilot.copilot_chat_short %} to generate a table that summarizes this information in a clear and organized way.
22+
23+
## Example prompt 1
24+
25+
```text copy
26+
Convert the following information into a markdown table:
27+
28+
Name: Alice
29+
Age: 30
30+
Occupation: Engineer
31+
Timezone: PST
32+
Availability: Mon-Fri, 9am-5pm
33+
34+
Name: Bob
35+
Age: 25
36+
Occupation: Designer
37+
Timezone: EST
38+
Availability: Mon-Thu, 10am-6pm
39+
40+
Name: Carol
41+
Age: 27
42+
Occupation: Writer
43+
Timezone: CST
44+
Availability: Mon-Thu, 8am-4pm
45+
46+
Name: Dave
47+
Age: 35
48+
Occupation: Manager
49+
Timezone: PST
50+
Availability: Mon-Fri, 10am-6pm
51+
52+
Name: Eve
53+
Age: 28
54+
Occupation: Analyst
55+
Timezone: CST
56+
Availability: Mon-Fri, 9am-5pm
57+
58+
Name: Frank
59+
Age: 32
60+
Occupation: Developer
61+
Timezone: CST
62+
Availability: Mon-Thu, 11am-7pm
63+
64+
Name: Grace
65+
Age: 29
66+
Occupation: Researcher
67+
Timezone: EST
68+
Availability: Mon-Fri, 9am-5pm
69+
70+
Name: Heidi
71+
Age: 31
72+
Occupation: Consultant
73+
Timezone: PST
74+
Availability: Mon-Fri, 9am-5pm
75+
76+
Name: Ivan
77+
Age: 26
78+
Occupation: Intern
79+
Timezone: CST
80+
Availability: Mon-Thu, 10am-6pm
81+
```
82+
83+
## Example response 1
84+
85+
{% data reusables.copilot.example-prompts.response-is-an-example %}
86+
87+
{% data variables.product.prodname_copilot_short %} will provide you with a markdown table that organizes the information clearly. You can copy the table {% data variables.copilot.copilot_chat_short %} provides and use it in your documentation or project.
88+
89+
```markdown
90+
| Name | Age | Occupation | Timezone | Availability |
91+
|--------|-----|-------------|----------|-----------------------|
92+
| Alice | 30 | Engineer | PST | Mon-Fri, 9am-5pm |
93+
| Bob | 25 | Designer | EST | Mon-Thu, 10am-6pm |
94+
| Carol | 27 | Writer | CST | Mon-Thu, 8am-4pm |
95+
| Dave | 35 | Manager | PST | Mon-Fri, 10am-6pm |
96+
| Eve | 28 | Analyst | CST | Mon-Fri, 9am-5pm |
97+
| Frank | 32 | Developer | CST | Mon-Thu, 11am-7pm |
98+
| Grace | 29 | Researcher | EST | Mon-Fri, 9am-5pm |
99+
| Heidi | 31 | Consultant | PST | Mon-Fri, 9am-5pm |
100+
| Ivan | 26 | Intern | CST | Mon-Thu, 10am-6pm |
101+
```
102+
103+
## Next steps
104+
105+
You can experiment with different types of visualizations and data to see how {% data variables.copilot.copilot_chat_short %} can help you create organized and easy-to-read information. For example, you could ask {% data variables.copilot.copilot_chat_short %} to use the `Timezone` and `Availability` columns to create a Mermaid graph that shows overlapping working hours for team members in different time zones. See [AUTOTITLE](/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/creating-diagrams) for more information.
106+
107+
## Further reading
108+
109+
{% data reusables.copilot.example-prompts.further-reading-items %}

content/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ versions:
66
topics:
77
- Copilot
88
children:
9-
- /creating-diagrams
109
- /creating-templates
1110
- /extracting-information
1211
- /synthesizing-research
12+
- /creating-diagrams
13+
- /generating-tables
1314
contentType: tutorials
1415
---

0 commit comments

Comments
 (0)