Skip to content

Commit 9c45512

Browse files
authored
Merge pull request github#36680 from github/repo-sync
Repo sync
2 parents c4feac4 + 21781fa commit 9c45512

File tree

10 files changed

+466
-26
lines changed

10 files changed

+466
-26
lines changed

content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/using-your-github-profile-to-enhance-your-resume.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Things you may want to add to your profile README include:
3636

3737
To create your profile README, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme#adding-a-profile-readme).
3838

39-
> [!NOTE] Updating and customizing your profile README also helps demonstrate fluency using Markdown and HTML, which are useful skills for technical jobs. To show off your skills for potential employers, look for ways to use more advanced Markdown or HTML elements in your profile README.
39+
> [!TIP] Look for ways to show off your coding skills within your profile README. For example, [@new2code](https://github.com/new2code) demonstrates knowledge of {% data variables.product.prodname_actions %} and Python scripts by automating daily updates to the [Countdown to GitHub Universe](https://github.com/new2code#countdown-to-github-universe) section.
4040
4141
## Step 3: Showcase your best projects
4242

@@ -66,6 +66,8 @@ Then, copy the response into a `README.md` file in the root of the repository, e
6666
* An example or demo of the project
6767
* Instructions on testing your code
6868

69+
For example, {% data variables.product.prodname_copilot_short %} wrote the README for [@new2code](https://github.com/new2code)'s [hiking pace calculator](https://github.com/new2code/hiking-pace-calculator?tab=readme-ov-file#hiking-pace-calculator).
70+
6971
### Update the repository details
7072

7173
On the main page of the repository, to the right of "About," click {% octicon "gear" aria-label="Edit repository metadata" %}. Here, you can provide information that helps hiring managers quickly understand the project:
@@ -86,6 +88,10 @@ To give the best impression, you'll want to make sure that hiring managers can u
8688

8789
The easiest way to follow these practices is to use {% data variables.product.prodname_copilot_short %} with {% data variables.product.prodname_vscode_shortname %}. See [Set up Visual Studio Code with Copilot](https://code.visualstudio.com/docs/copilot/setup-simplified) in the {% data variables.product.prodname_vscode_shortname %} documentation.
8890

91+
For example, {% data variables.product.prodname_copilot_short %} wrote the comments in [`update_readme.py`](https://github.com/new2code/new2code/blob/main/update_readme.py), when [@new2code](https://github.com/new2code) used the following prompt:
92+
93+
> Help me write some helpful comments on this file so that it's easy to understand.
94+
8995
### Update your project's dependencies
9096

9197
If your project has any dependencies, you can showcase your understanding of security best practices by ensuring you're using the **latest versions**.

content/rest/using-the-rest-api/best-practices-for-using-the-rest-api.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Similarly, you should not try to manually construct pagination queries. Instead,
6969

7070
## Use conditional requests if appropriate
7171

72-
Most endpoints return an `etag` header, and many endpoints return a `last-modified` header. You can use the values of these headers to make conditional requests. If the response has not changed, you will receive a `304 Not Modified` response. Making a conditional request does not count against your primary rate limit if a `304` response is returned.
72+
Most endpoints return an `etag` header, and many endpoints return a `last-modified` header. You can use the values of these headers to make conditional `GET` requests. If the response has not changed, you will receive a `304 Not Modified` response. Making a conditional request does not count against your primary rate limit if a `304` response is returned.
7373

7474
For example, if a previous request returned an `etag` header value of `644b5b0155e6404a9cc4bd9d8b1ae730`, you can use the `if-none-match` header in a future request:
7575

@@ -83,6 +83,8 @@ For example, if a previous request returned a `last-modified` header value of `W
8383
curl {% data variables.product.rest_url %}/repos/github/docs --include --header 'if-modified-since: Wed, 25 Oct 2023 19:17:59 GMT'
8484
```
8585

86+
Conditional requests for unsafe methods, such as `POST`, `PUT`, `PATCH`, and `DELETE` are not supported unless otherwise noted in the documentation for a specific endpoint.
87+
8688
## Do not ignore errors
8789

8890
You should not ignore repeated `4xx` and `5xx` error codes. Instead, you should ensure that you are correctly interacting with the API. For example, if an endpoint requests a string and you are passing it a numeric value, you will receive a validation error. Similarly, attempting to access an unauthorized or nonexistent endpoint will result in a `4xx` error.

src/audit-logs/data/fpt/organization.json

+10
Original file line numberDiff line numberDiff line change
@@ -2834,6 +2834,16 @@
28342834
"description": "An invitation to join a repository was declined.",
28352835
"docs_reference_links": "N/A"
28362836
},
2837+
{
2838+
"action": "repository_limit.reached",
2839+
"description": "An organization has reached their repository limit.",
2840+
"docs_reference_links": "repositories/creating-and-managing-repositories/repository-limits"
2841+
},
2842+
{
2843+
"action": "repository_limit.warning",
2844+
"description": "An organization is approaching their repository limit.",
2845+
"docs_reference_links": "repositories/creating-and-managing-repositories/repository-limits"
2846+
},
28372847
{
28382848
"action": "repository_projects_change.clear",
28392849
"description": "The repository projects policy was removed for an organization, or all organizations in the enterprise Organization owners can now control their repository projects settings.",

src/audit-logs/data/ghec/organization.json

+10
Original file line numberDiff line numberDiff line change
@@ -2834,6 +2834,16 @@
28342834
"description": "An invitation to join a repository was declined.",
28352835
"docs_reference_links": "N/A"
28362836
},
2837+
{
2838+
"action": "repository_limit.reached",
2839+
"description": "An organization has reached their repository limit.",
2840+
"docs_reference_links": "repositories/creating-and-managing-repositories/repository-limits"
2841+
},
2842+
{
2843+
"action": "repository_limit.warning",
2844+
"description": "An organization is approaching their repository limit.",
2845+
"docs_reference_links": "repositories/creating-and-managing-repositories/repository-limits"
2846+
},
28372847
{
28382848
"action": "repository_projects_change.clear",
28392849
"description": "The repository projects policy was removed for an organization, or all organizations in the enterprise Organization owners can now control their repository projects settings.",

src/audit-logs/lib/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
44
"apiRequestEvent": "This event is only available via audit log streaming."
55
},
6-
"sha": "b170d9ae0c6b6318ea724612fb95e12d7c154cf9"
6+
"sha": "e49cd93fda003f6fa50b7e3611dc97dfb5444391"
77
}

src/github-apps/lib/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "8474aa52ebc657dd2ac31b5ac18283a5708c5a68"
63+
"sha": "e40e7bf1e6c9db6c52a35b4675f1c8248c35643a"
6464
}

0 commit comments

Comments
 (0)