Skip to content

Commit e8e5292

Browse files
authored
Merge branch 'main' into hotfix/transfer-repository
2 parents 3d90ab5 + 9d6cf34 commit e8e5292

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

content/developers/overview/secret-scanning.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ We strongly recommend you implement signature validation in your secret alert se
8888

8989
You can retrieve the {% data variables.product.prodname_dotcom %} secret scanning public key from https://api.github.com/meta/public_keys/secret_scanning and validate the message using the `ECDSA-NIST-P256V1-SHA256` algorithm.
9090

91+
{% note %}
92+
93+
**Note**: When you send a request to the public key endpoint above, you may hit rate limits. To avoid hitting rate limits, you can use a personal access token as suggested below, or use a conditional request. For more information, see "[Getting started with the REST API](/rest/guides/getting-started-with-the-rest-api#conditional-requests)."
94+
95+
{% endnote %}
96+
9197
Assuming you receive the following message, the code snippets below demonstrate how you could perform signature validation.
9298
The code also assumes you've set an environment variable called `GITHUB_PRODUCTION_TOKEN` with a generated PAT (https://github.com/settings/tokens). The token does not need any permissions set.
9399

@@ -358,4 +364,3 @@ A few important points:
358364
**Note:** Our request timeout is set to be higher (that is, 30 seconds) for partners who provide data about false positives. If you require a timeout higher than 30 seconds, email us at <a href="mailto:secret-scanning@github.com">secret-scanning@github.com</a>.
359365
360366
{% endnote %}
361-

content/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Query parameters are optional parts of a URL you can customize to share a specif
2121

2222
You must have the proper permissions for any action to use the equivalent query parameter. For example, you must have permission to add a label to an issue to use the `labels` query parameter.
2323

24-
If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a 404 error page.
24+
If you create an invalid URL using query parameters, or if you don’t have the proper permissions, the URL will return a `404 Not Found` error page. If you create a URL that exceeds the server limit, the URL will return a `414 URI Too Long` error page.
2525

2626
### Supported query parameters
2727

0 commit comments

Comments
 (0)