Skip to content

Commit b585732

Browse files
authored
Merge pull request #22142 from github/repo-sync
repo sync
2 parents 17a0b9d + 1ddfda2 commit b585732

File tree

38 files changed

+324
-333
lines changed

38 files changed

+324
-333
lines changed

content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Supported options
244244

245245
{% note %}
246246

247-
**Note:** The `prefix` and the `prefix-development` options have a 15 character limit.
247+
**Note:** The `prefix` and the `prefix-development` options have a {% ifversion fpt or ghec or ghes > 3.7 or ghae > 3.7 %}50{% elsif ghes < 3.8 or ghae < 3.8 %}15{% endif %} character limit.
248248

249249
{% endnote %}
250250

translations/ja-JP/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ If you confirm a secret is real and that you intend to fix it later, you should
8686

8787
{% data reusables.secret-scanning.push-protection-multiple-branch-note %}
8888

89+
{% ifversion ghes < 3.6 or ghae < 3.6 %}
90+
91+
{% tip %}
92+
93+
**Tip:** You can use {% data variables.product.prodname_secret_scanning %} as a push protection from the web UI, as well as the command line, in {% data variables.product.product_name %} version 3.6 or later.
94+
95+
{% endtip %}
96+
97+
{% endif %}
98+
8999
### Allowing a blocked secret to be pushed
90100

91101
If {% data variables.product.prodname_dotcom %} blocks a secret that you believe is safe to push, you can allow the secret and specify the reason why it should be allowed.
@@ -137,4 +147,5 @@ If you confirm a secret is real and that you intend to fix it later, you should
137147

138148
1. Click **Allow secret**.
139149

150+
140151
{% endif %}

translations/ja-JP/content/codespaces/the-githubdev-web-based-editor.md

Lines changed: 56 additions & 60 deletions
Large diffs are not rendered by default.

translations/ja-JP/content/packages/working-with-a-github-packages-registry/working-with-the-rubygems-registry.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ shortTitle: RubyGems registry
3636
Bundler version 1.13.7
3737
```
3838

39-
- Install keycutter to manage multiple credentials. To install keycutter:
40-
41-
```shell
42-
$ gem install keycutter
43-
```
44-
4539
## Authenticating to {% data variables.product.prodname_registry %}
4640

4741
{% data reusables.package_registry.authenticate-packages %}
@@ -52,7 +46,7 @@ shortTitle: RubyGems registry
5246

5347
{% data reusables.package_registry.required-scopes %}
5448

55-
You can authenticate to {% data variables.product.prodname_registry %} with RubyGems by editing the *~/.gem/credentials* file for publishing gems, editing the *~/.gemrc* file for installing a single gem, or using Bundler for tracking and installing one or more gems.
49+
To publish and install gems, you can configure RubyGems or Bundler to authenticate to {% data variables.product.prodname_registry %} using your {% data variables.product.pat_generic %}.
5650

5751
To publish new gems, you need to authenticate to {% data variables.product.prodname_registry %} with RubyGems by editing your *~/.gem/credentials* file to include your {% data variables.product.pat_v1 %}. Create a new *~/.gem/credentials* file if this file doesn't exist.
5852

@@ -63,7 +57,7 @@ For example, you would create or edit a *~/.gem/credentials* to include the foll
6357
:github: Bearer TOKEN
6458
```
6559

66-
To install gems, you need to authenticate to {% data variables.product.prodname_registry %} by editing the *~/.gemrc* file for your project to include `https://USERNAME:TOKEN@{% ifversion fpt or ghec %}rubygems.pkg.github.com{% else %}REGISTRY-URL{% endif %}/OWNER/`. You must replace:
60+
To install gems, you need to authenticate to {% data variables.product.prodname_registry %} by updating your gem sources to include `https://USERNAME:TOKEN@{% ifversion fpt or ghec %}rubygems.pkg.github.com{% else %}REGISTRY-URL{% endif %}/OWNER/`. You must replace:
6761
- `USERNAME` with your {% data variables.product.prodname_dotcom %} username.
6862
- `TOKEN` with your {% data variables.product.pat_v1 %}.
6963
- `OWNER` with the name of the user or organization account that owns the repository containing your project.{% ifversion ghes %}
@@ -72,18 +66,9 @@ To install gems, you need to authenticate to {% data variables.product.prodname_
7266
- `REGISTRY-URL` with the URL for your instance's Rubygems registry, `rubygems.HOSTNAME`. Replace *HOSTNAME* with the hostname of {% data variables.location.product_location %}.
7367
{% endif %}
7468

75-
If you don't have a *~/.gemrc* file, create a new *~/.gemrc* file using this example.
76-
69+
If you would like your package to be available globally, you can run the following command to add your registry as a source.
7770
```shell
78-
---
79-
:backtrace: false
80-
:bulk_threshold: 1000
81-
:sources:
82-
- https://rubygems.org/
83-
- https://USERNAME:TOKEN@{% ifversion fpt or ghec %}rubygems.pkg.github.com{% else %}REGISTRY-URL{% endif %}/OWNER/
84-
:update_sources: true
85-
:verbose: true
86-
71+
gem sources --add https://USERNAME:TOKEN@{% ifversion fpt or ghec %}rubygems.pkg.github.com{% else %}REGISTRY-URL{% endif %}/OWNER/
8772
```
8873

8974
To authenticate with Bundler, configure Bundler to use your {% data variables.product.pat_v1 %}, replacing *USERNAME* with your {% data variables.product.prodname_dotcom %} username, *TOKEN* with your {% data variables.product.pat_generic %}, and *OWNER* with the name of the user or organization account that owns the repository containing your project.{% ifversion ghes %} Replace `REGISTRY-URL` with the URL for your instance's RubyGems registry. If your instance has subdomain isolation enabled, use `rubygems.HOSTNAME`. If your instance has subdomain isolation disabled, use `HOSTNAME/_registry/rubygems`. In either case, replace *HOSTNAME* with the hostname of your {% data variables.product.prodname_ghe_server %} instance.{% elsif ghae %}Replace `REGISTRY-URL` with the URL for your instance's Rubygems registry, `rubygems.HOSTNAME`. Replace *HOSTNAME* with the hostname of {% data variables.location.product_location %}.{% endif %}

translations/ja-JP/content/rest/overview/other-authentication-methods.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,18 @@ $ curl -u USERNAME:TOKEN {% data variables.product.api_url_pre %}/user
5050

5151
This approach is useful if your tools only support Basic Authentication but you want to take advantage of {% data variables.product.pat_generic %} security features.
5252

53+
{% ifversion not ghae %}
5354
### Via username and password
5455

5556
{% ifversion fpt or ghec %}
56-
5757
{% note %}
5858

5959
**Note:** {% data variables.product.prodname_dotcom %} has discontinued password authentication to the API starting on November 13, 2020 for all {% data variables.product.prodname_dotcom_the_website %} accounts, including those on a {% data variables.product.prodname_free_user %}, {% data variables.product.prodname_pro %}, {% data variables.product.prodname_team %}, or {% data variables.product.prodname_ghe_cloud %} plan. You must now authenticate to the {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} API with an API token, such as an OAuth access token, GitHub App installation access token, or {% data variables.product.pat_generic %}, depending on what you need to do with the token. For more information, see "[Troubleshooting](/rest/overview/troubleshooting#basic-authentication-errors)."
6060

6161
{% endnote %}
62+
{% else %}
6263

63-
{% endif %}
64-
65-
{% ifversion ghes %}
66-
To use Basic Authentication with the {% ifversion fpt or ghec %}{% data variables.product.prodname_dotcom %}{% else %}{% data variables.product.product_name %}{% endif %} API, simply send the username and
64+
To use Basic Authentication with the {% data variables.product.product_name %} API, simply send the username and
6765
password associated with the account.
6866

6967
For example, if you're accessing the API via [cURL][curl], the following command
@@ -74,7 +72,7 @@ would authenticate you if you replace `<username>` with your {% data variables.p
7472
$ curl -u USERNAME {% data variables.product.api_url_pre %}/user
7573
```
7674
If you have two-factor authentication enabled, make sure you understand how to [work with two-factor authentication](/rest/overview/other-authentication-methods#working-with-two-factor-authentication).
77-
75+
{% endif %}
7876
{% endif %}
7977

8078
{% ifversion fpt or ghec %}

translations/ja-JP/data/reusables/dependabot/dependabot-alerts-dependency-scope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The table below summarizes whether dependency scope is supported for various ecosystems and manifests, that is, whether {% data variables.product.prodname_dependabot %} can identify if a dependency is used for development or production.
22

33
| **Language** | **Ecosystem** | **Manifest file** | **Dependency scope supported** |
4-
|:---|:---:|:---:|:---|{% ifversion fpt or ghec or ghes > 3.7 %}
4+
|:---|:---:|:---:|:---|{% ifversion dependency-graph-dart-support %}
55
| Dart | pub | pubspec.yaml ||
66
| Dart | pub | pubspec.lock | ✔ |{% endif %}
77
| Go | Go modules | go.mod | No, defaults to runtime |

translations/ja-JP/data/reusables/secret-scanning/partner-secret-list-private-repo.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ Azure | Azure Cache for Redis Access Key | azure_cache_for_redis_access_key{% en
2424
Azure | Azure CosmosDB Key Identifiable | azure_cosmosdb_key_identifiable{% endif %}
2525
Azure | Azure DevOps {% data variables.product.pat_generic_title_case %} | azure_devops_personal_access_token
2626
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
27-
Azure | Azure ML Studio (classic) Web Service Key | azure_ml_studio_classic_web_service_key{% endif %}
27+
Azure | Azure ML Studio (classic) Web Service Key | azure_ml_studio_classic_web_service_key, azure_ml_web_service_classic_identifiable_key{% endif %}
2828
Azure | Azure SAS Token | azure_sas_token
29+
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
30+
Azure | Azure Search Admin Key | azure_search_admin_key
31+
Azure | Azure Search Query Key | azure_search_query_key{% endif %}
2932
Azure | Azure Service Management Certificate | azure_management_certificate
3033
{%- ifversion ghes < 3.4 or ghae < 3.4 %}
3134
Azure | Azure SQL Connection String | azure_sql_connection_string{% endif %}
@@ -78,7 +81,8 @@ GoCardless | GoCardless Live Access Token | gocardless_live_access_token
7881
GoCardless | GoCardless Sandbox Access Token | gocardless_sandbox_access_token
7982
Google | Firebase Cloud Messaging Server Key | firebase_cloud_messaging_server_key
8083
Google | Google API Key | google_api_key
81-
Google | Google Cloud Private Key ID |
84+
{%- ifversion fpt or ghec or ghes > 3.5 or ghae > 3.5 %}
85+
Google | Google Cloud Private Key ID | google_cloud_private_key_id{% endif %}
8286
Google | Google Cloud Storage Service Account Access Key ID with Google Cloud Storage Access Key Secret | google_cloud_storage_service_account_access_key_id </br>google_cloud_storage_access_key_secret
8387
Google | Google Cloud Storage User Access Key ID with Google Cloud Storage Access Key Secret | google_cloud_storage_user_access_key_id </br>google_cloud_storage_access_key_secret
8488
{%- ifversion fpt or ghec or ghes > 3.3 or ghae > 3.3 %}

translations/ja-JP/data/reusables/secret-scanning/secret-list-private-push-protection.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ Azure | Azure Cache for Redis Access Key | azure_cache_for_redis_access_key
1515
Azure | Azure CosmosDB Key Identifiable | azure_cosmosdb_key_identifiable{% endif %}
1616
Azure | Azure DevOps {% data variables.product.pat_generic_title_case %} | azure_devops_personal_access_token
1717
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
18-
Azure | Azure ML Studio (classic) Web Service Key | azure_ml_studio_classic_web_service_key{% endif %}
18+
Azure | Azure ML Studio (classic) Web Service Key | azure_ml_web_service_classic_identifiable_key{% endif %}
19+
{%- ifversion fpt or ghec or ghes > 3.8 or ghae > 3.8 %}
20+
Azure | Azure Search Admin Key | azure_search_admin_key
21+
Azure | Azure Search Query Key | azure_search_query_key{% endif %}
1922
{%- ifversion fpt or ghec or ghes > 3.6 or ghae > 3.6 %}
2023
Azure | Azure Storage Account Key | azure_storage_account_key{% endif %}
2124
Checkout.com | Checkout.com Production Secret Key | checkout_production_secret_key

translations/ja-JP/data/variables/product.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ prodname_advanced_security: 'Advanced Security'
151151
# Codespaces
152152
prodname_codespaces: 'Codespaces'
153153
prodname_github_codespaces: 'GitHub Codespaces'
154-
prodname_serverless: 'web-based editor'
155154

156155
# GitHub resources: blog, jobs, skills
157156
prodname_gcf: 'GitHub Community Support'

translations/log/msft-cn-resets.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/set
783783
translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-java-project-for-codespaces.md,broken liquid tags
784784
translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-nodejs-project-for-codespaces.md,broken liquid tags
785785
translations/zh-CN/content/codespaces/setting-up-your-project-for-codespaces/setting-up-your-python-project-for-codespaces.md,broken liquid tags
786+
translations/zh-CN/content/codespaces/the-githubdev-web-based-editor.md,broken liquid tags
786787
translations/zh-CN/content/codespaces/troubleshooting/exporting-changes-to-a-branch.md,broken liquid tags
787788
translations/zh-CN/content/codespaces/troubleshooting/github-codespaces-logs.md,broken liquid tags
788789
translations/zh-CN/content/codespaces/troubleshooting/index.md,broken liquid tags
@@ -897,7 +898,7 @@ translations/zh-CN/content/issues/tracking-your-work-with-issues/linking-a-pull-
897898
translations/zh-CN/content/organizations/collaborating-with-groups-in-organizations/about-your-organizations-news-feed.md,rendering error
898899
translations/zh-CN/content/organizations/granting-access-to-your-organization-with-saml-single-sign-on/about-two-factor-authentication-and-saml-single-sign-on.md,rendering error
899900
translations/zh-CN/content/organizations/granting-access-to-your-organization-with-saml-single-sign-on/viewing-and-managing-a-members-saml-access-to-your-organization.md,rendering error
900-
translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/accessing-compliance-reports-for-your-organization.md,broken liquid tags
901+
translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/accessing-compliance-reports-for-your-organization.md,rendering error
901902
translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/managing-security-and-analysis-settings-for-your-organization.md,rendering error
902903
translations/zh-CN/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md,rendering error
903904
translations/zh-CN/content/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities.md,broken liquid tags

0 commit comments

Comments
 (0)