From 4b5961e875eb97ff13dbb2103484de6c3ddafe18 Mon Sep 17 00:00:00 2001 From: docubot <67483024+docubot@users.noreply.github.com> Date: Sun, 27 Nov 2022 08:50:33 -0800 Subject: [PATCH] New translation batch for ja (#32976) --- ...o-your-enterprise-with-an-ip-allow-list.md | 206 ++++++++++++++++++ .../telling-git-about-your-signing-key.md | 82 +++---- .../about-billing-for-github-codespaces.md | 190 ++++++++-------- ...tely-reporting-a-security-vulnerability.md | 70 ++++++ .../the-githubdev-web-based-editor.md | 114 +++++----- .../syntax-for-githubs-form-schema.md | 145 ++++++------ .../editing-an-assignment.md | 123 +++++++++++ .../get-started/quickstart/github-glossary.md | 18 +- ...ompliance-reports-for-your-organization.md | 29 +-- .../roles-in-an-organization.md | 16 +- ...navigating-files-with-the-new-code-view.md | 166 ++++++++++++++ .../using-files/viewing-a-file.md | 66 +++--- .../reusables/actions/ref_name-description.md | 10 +- .../dependabot-alerts-dependency-scope.md | 36 +-- .../azure-emu-support-oidc.md | 13 ++ .../image-urls-viewable-warning.md | 10 +- .../about-enabling-allowed-ip-addresses.md | 12 +- .../reusables/organizations/compliance.md | 9 + .../backup_options_during_2fa_enrollment.md | 10 + translations/log/msft-ja-resets.csv | 15 +- 20 files changed, 973 insertions(+), 367 deletions(-) create mode 100644 translations/ja-JP/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md create mode 100644 translations/ja-JP/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md create mode 100644 translations/ja-JP/content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/editing-an-assignment.md create mode 100644 translations/ja-JP/content/repositories/working-with-files/managing-files/navigating-files-with-the-new-code-view.md create mode 100644 translations/ja-JP/data/reusables/enterprise-accounts/azure-emu-support-oidc.md create mode 100644 translations/ja-JP/data/reusables/organizations/compliance.md create mode 100644 translations/ja-JP/data/reusables/two_fa/backup_options_during_2fa_enrollment.md diff --git a/translations/ja-JP/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md b/translations/ja-JP/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md new file mode 100644 index 0000000000..9aeec82040 --- /dev/null +++ b/translations/ja-JP/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md @@ -0,0 +1,206 @@ +--- +title: Restricting network traffic to your enterprise with an IP allow list +shortTitle: Restricting network traffic +intro: You can restrict access to your enterprise and only allow access to your resources from specified IP addresses by using an IP allow list. +permissions: Enterprise owners can configure IP allow lists. +miniTocMaxHeadingLevel: 3 +versions: + ghae: '*' + ghec: '*' +type: how_to +topics: + - Access management + - Enterprise + - Fundamentals + - Networking + - Security +redirect_from: + - /admin/configuration/restricting-network-traffic-to-your-enterprise + - /admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise +--- + +## About network traffic restrictions + +By default, authorized users can access your enterprise from any IP address. You can restrict access to resources {% ifversion ghec %}owned by organizations in an enterprise account {% endif %}by configuring an allow list for specific IP addresses. {% data reusables.identity-and-permissions.ip-allow-lists-example-and-restrictions %} + +{% ifversion ghec %} + + If your enterprise uses {% data variables.product.prodname_emus %} with OIDC, you can choose whether to use {% data variables.product.company_short %}'s IP allow list feature or to use the allow list restrictions for your identity provider (IdP). If your enterprise does not use {% data variables.product.prodname_emus %} with OIDC, you can use {% data variables.product.company_short %}'s allow list feature. + +{% elsif ghae %} + +By default, Azure network security group (NSG) rules leave all inbound traffic open on ports 22, 80, 443, and 25. You can contact {% data variables.contact.github_support %} to configure access restrictions for {% data variables.product.product_name %}. + +For restrictions using Azure NSGs, contact {% data variables.contact.github_support %} with the IP addresses that should be allowed to access {% data variables.product.product_name %}. Specify address ranges using the standard CIDR (Classless Inter-Domain Routing) format. {% data variables.contact.github_support %} will configure the appropriate firewall rules to restrict network access over HTTP, SSH, HTTPS, and SMTP. For more information, see "[Receiving help from {% data variables.contact.github_support %}](/admin/enterprise-support/receiving-help-from-github-support)." + +{% endif %} + +{% ifversion ghec %} + +## About {% data variables.product.company_short %}'s IP allow list + +You can use {% data variables.product.company_short %}'s IP allow list to control access to your enterprise and assets owned by organizations in your enterprise. + +{% data reusables.identity-and-permissions.ip-allow-lists-cidr-notation %} + +{% data reusables.identity-and-permissions.ip-allow-lists-enable %} {% data reusables.identity-and-permissions.ip-allow-lists-enterprise %} + +You can also configure allowed IP addresses for an individual organization. For more information, see "[Managing allowed IP addresses for your organization](/organizations/keeping-your-organization-secure/managing-allowed-ip-addresses-for-your-organization)." + +## About your IdP's allow list + +If you are using {% data variables.product.prodname_emus %} with OIDC, you can use your IdP's allow list. + +Using your IdP's allow list deactivates the {% data variables.product.company_short %} IP allow list configurations for all organizations in your enterprise and deactivates the GraphQL APIs for enabling and managing IP allow lists. + +By default, your IdP runs the CAP on the initial interactive SAML or OIDC sign-in to {% data variables.product.company_short %} for any IP allow list configuration you choose. + +The OIDC CAP only applies for requests to the API using a user-to-server token, such as a token for an {% data variables.product.prodname_oauth_app %} or a {% data variables.product.prodname_github_app %} acting on behalf of a user. The OIDC CAP does not apply when a {% data variables.product.prodname_github_app %} uses a server-to-server token. For more information, see "[Authenticating with {% data variables.product.prodname_github_apps %}](/developers/apps/building-github-apps/authenticating-with-github-apps#authenticating-as-an-installation)" and "[About support for your IdPs Conditional Access Policy](/enterprise-cloud@latest/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-support-for-your-idps-conditional-access-policy#github-apps-and-oauth-apps)." + +To ensure seamless use of the OIDC CAP while still applying the policy to user-to-server tokens, you must copy all of the IP ranges from each {% data variables.product.prodname_github_app %} that your enterprise uses to your IdP policy. + +## Using {% data variables.product.company_short %}'s IP allow list + +### Enabling {% data variables.product.company_short %}'s IP allow list +{% data reusables.profile.access_org %} +{% data reusables.profile.org_settings %} +{% data reusables.organizations.security %} +1. Under "IP allow list", enable the IP allow list. + - If you are using {% data variables.product.prodname_emus %} with OIDC, select the dropdown menu and click **GitHub**. +  + + Select **Enable IP allow list**. +  + + - If you are not using {% data variables.product.prodname_emus %} with OIDC, select **Enable IP allow list**. +  +1. Click **Save**. + +### Adding an allowed IP address + +{% data reusables.identity-and-permissions.about-adding-ip-allow-list-entries %} + +{% data reusables.identity-and-permissions.ipv6-allow-lists %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.ip-allow-lists-add-ip %} +{% data reusables.identity-and-permissions.ip-allow-lists-add-description %} +{% data reusables.identity-and-permissions.ip-allow-lists-add-entry %} +{% data reusables.identity-and-permissions.check-ip-address %} + +### Allowing access by {% data variables.product.prodname_github_apps %} + +{% data reusables.identity-and-permissions.ip-allow-lists-githubapps-enterprise %} + +### Editing an allowed IP address + +{% data reusables.identity-and-permissions.about-editing-ip-allow-list-entries %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.ip-allow-lists-edit-entry %} +{% data reusables.identity-and-permissions.ip-allow-lists-edit-ip %} +{% data reusables.identity-and-permissions.ip-allow-lists-edit-description %} +8. Click **Update**. +{% data reusables.identity-and-permissions.check-ip-address %} + +### Checking if an IP address is permitted + +{% data reusables.identity-and-permissions.about-checking-ip-address %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.check-ip-address-step %} + +### Deleting an allowed IP address + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.ip-allow-lists-delete-entry %} +{% data reusables.identity-and-permissions.ip-allow-lists-confirm-deletion %} + +## Using your identity provider's allow list + +You can use your IdP's allow list if you use {% data variables.product.prodname_emus %} with OIDC. + +{% data reusables.profile.access_org %} +{% data reusables.profile.org_settings %} +{% data reusables.organizations.security %} +1. Under "IP allow list", select the dropdown and click **Identity Provider**. + +  + - Optionally, to allow installed {% data variables.product.company_short %} and {% data variables.product.prodname_oauth_apps %} to access your enterprise from any IP address, select **Skip IdP check for applications**. + +  +1. Click **Save**. + +{% endif %} + +{% ifversion ghae %} + +## Enabling allowed IP addresses + +{% data reusables.identity-and-permissions.about-enabling-allowed-ip-addresses %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +1. Under "IP allow list", select **Enable IP allow list**. +  +4. Click **Save**. + +## Adding an allowed IP address + +{% data reusables.identity-and-permissions.about-adding-ip-allow-list-entries %} +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.ip-allow-lists-add-ip %} +{% data reusables.identity-and-permissions.ip-allow-lists-add-description %} +{% data reusables.identity-and-permissions.ip-allow-lists-add-entry %} +{% data reusables.identity-and-permissions.check-ip-address %} + +## Allowing access by {% data variables.product.prodname_github_apps %} + +{% data reusables.identity-and-permissions.ip-allow-lists-githubapps-enterprise %} + +## Editing an allowed IP address + +{% data reusables.identity-and-permissions.about-editing-ip-allow-list-entries %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.ip-allow-lists-edit-entry %} +{% data reusables.identity-and-permissions.ip-allow-lists-edit-ip %} +{% data reusables.identity-and-permissions.ip-allow-lists-edit-description %} +8. Click **Update**. +{% data reusables.identity-and-permissions.check-ip-address %} + +## Checking if an IP address is permitted + +{% data reusables.identity-and-permissions.about-checking-ip-address %} + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.check-ip-address-step %} + +## Deleting an allowed IP address + +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.settings-tab %} +{% data reusables.enterprise-accounts.security-tab %} +{% data reusables.identity-and-permissions.ip-allow-lists-delete-entry %} +{% data reusables.identity-and-permissions.ip-allow-lists-confirm-deletion %} + +{% endif %} + +## Using {% data variables.product.prodname_actions %} with an IP allow list + +{% data reusables.actions.ip-allow-list-self-hosted-runners %} diff --git a/translations/ja-JP/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md b/translations/ja-JP/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md index 15837294e8..6ecce8263a 100644 --- a/translations/ja-JP/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md +++ b/translations/ja-JP/content/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key.md @@ -1,6 +1,6 @@ --- -title: Telling Git about your signing key -intro: 'To sign commits locally, you need to inform Git that there''s a GPG{% ifversion ssh-commit-verification %}, SSH,{% endif %} or X.509 key you''d like to use.' +title: Git へ署名キーを伝える +intro: 'ローカル環境でコミットに署名するには、使う GPG{% ifversion ssh-commit-verification %}、SSH、{% endif %} または X.509 キーがあることを Git に知らせる必要があります。' redirect_from: - /articles/telling-git-about-your-gpg-key - /articles/telling-git-about-your-signing-key @@ -15,38 +15,39 @@ topics: - Identity - Access management shortTitle: Tell Git your signing key +ms.openlocfilehash: d70911bdf3ff5de93537f7c9acb1374a4f2c90e3 +ms.sourcegitcommit: aded2711e14a0c2473049d3d7e05c82a74e4c634 +ms.translationtype: HT +ms.contentlocale: ja-JP +ms.lasthandoff: 11/21/2022 +ms.locfileid: '148179950' --- {% mac %} -## Telling Git about your GPG key +## Git へ GPG キーを伝える -If you're using a GPG key that matches your committer identity and your verified email address associated with your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}, then you can begin signing commits and signing tags. +コミッター ID と、{% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} でのアカウントに関連付けられた検証済みのメール アドレスに一致する GPG キーを使っている場合、コミットやタグへの署名を始めることができます。 {% note %} -If you don't have a GPG key that matches your committer identity, you need to associate an email with an existing key. For more information, see "[Associating an email with your GPG key](/articles/associating-an-email-with-your-gpg-key)". +コミッターアイデンティティにマッチする GPG キーを持っていない場合、既存のキーとメールアドレスを関連付ける必要があります。 詳細については、「[メールと GPG キーの関連付け](/articles/associating-an-email-with-your-gpg-key)」を参照してください。 {% endnote %} -If you have multiple GPG keys, you need to tell Git which one to use. +複数の GPG キーを持っている場合、どれを使うかを Git に伝える必要があります。 -{% data reusables.command_line.open_the_multi_os_terminal %} -{% data reusables.gpg.configure-gpg-signing %} -{% data reusables.gpg.list-keys-with-note %} -{% data reusables.gpg.copy-gpg-key-id %} -{% data reusables.gpg.paste-gpg-key-id %} -{% data reusables.gpg.set-auto-sign %} -1. If you aren't using the GPG suite, run the following command in the `zsh` shell to add the GPG key to your `.zshrc` file, if it exists, or your `.zprofile` file: +{% data reusables.command_line.open_the_multi_os_terminal %} {% data reusables.gpg.configure-gpg-signing %} {% data reusables.gpg.list-keys-with-note %} {% data reusables.gpg.copy-gpg-key-id %} {% data reusables.gpg.paste-gpg-key-id %} {% data reusables.gpg.set-auto-sign %} +1. GPG スイートを使用していない場合は、`zsh` シェルで次のコマンドを実行して、存在する場合は `.zshrc` ファイル、または `.zprofile` ファイルに GPG キーを追加します。 ```shell $ if [ -r ~/.zshrc ]; then echo 'export GPG_TTY=$(tty)' >> ~/.zshrc; \ else echo 'export GPG_TTY=$(tty)' >> ~/.zprofile; fi ``` - Alternatively, if you use the `bash` shell, run this command: + または、`bash` シェルを使用する場合は、次のコマンドを実行します。 ```shell $ if [ -r ~/.bash_profile ]; then echo 'export GPG_TTY=$(tty)' >> ~/.bash_profile; \ else echo 'export GPG_TTY=$(tty)' >> ~/.profile; fi ``` -1. Optionally, to prompt you to enter a PIN or passphrase when required, install `pinentry-mac`. For example, using [Homebrew](https://brew.sh/): +1. 必要に応じて、PIN またはパスフレーズの入力を求めるメッセージを表示するには、`pinentry-mac` をインストールします。 たとえば、[Homebrew](https://brew.sh/) を使用すると、次のようになります。 ```shell $ brew install pinentry-mac $ echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf @@ -57,69 +58,56 @@ If you have multiple GPG keys, you need to tell Git which one to use. {% windows %} -## Telling Git about your GPG key +## Git へ GPG キーを伝える -If you're using a GPG key that matches your committer identity and your verified email address associated with your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}, then you can begin signing commits and signing tags. +コミッター ID と、{% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} でのアカウントに関連付けられた検証済みのメール アドレスに一致する GPG キーを使っている場合、コミットやタグへの署名を始めることができます。 {% note %} -If you don't have a GPG key that matches your committer identity, you need to associate an email with an existing key. For more information, see "[Associating an email with your GPG key](/articles/associating-an-email-with-your-gpg-key)". +コミッターアイデンティティにマッチする GPG キーを持っていない場合、既存のキーとメールアドレスを関連付ける必要があります。 詳細については、「[メールと GPG キーの関連付け](/articles/associating-an-email-with-your-gpg-key)」を参照してください。 {% endnote %} -If you have multiple GPG keys, you need to tell Git which one to use. +複数の GPG キーを持っている場合、どれを使うかを Git に伝える必要があります。 -{% data reusables.command_line.open_the_multi_os_terminal %} -{% data reusables.gpg.configure-gpg-signing %} -{% data reusables.gpg.list-keys-with-note %} -{% data reusables.gpg.copy-gpg-key-id %} -{% data reusables.gpg.paste-gpg-key-id %} -{% data reusables.gpg.set-auto-sign %} +{% data reusables.command_line.open_the_multi_os_terminal %} {% data reusables.gpg.configure-gpg-signing %} {% data reusables.gpg.list-keys-with-note %} {% data reusables.gpg.copy-gpg-key-id %} {% data reusables.gpg.paste-gpg-key-id %} {% data reusables.gpg.set-auto-sign %} {% endwindows %} {% linux %} -## Telling Git about your GPG key +## Git へ GPG キーを伝える -If you're using a GPG key that matches your committer identity and your verified email address associated with your account on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %}, then you can begin signing commits and signing tags. +コミッター ID と、{% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.location.product_location %}{% endif %} でのアカウントに関連付けられた検証済みのメール アドレスに一致する GPG キーを使っている場合、コミットやタグへの署名を始めることができます。 {% note %} -If you don't have a GPG key that matches your committer identity, you need to associate an email with an existing key. For more information, see "[Associating an email with your GPG key](/articles/associating-an-email-with-your-gpg-key)". +コミッターアイデンティティにマッチする GPG キーを持っていない場合、既存のキーとメールアドレスを関連付ける必要があります。 詳細については、「[メールと GPG キーの関連付け](/articles/associating-an-email-with-your-gpg-key)」を参照してください。 {% endnote %} -If you have multiple GPG keys, you need to tell Git which one to use. +複数の GPG キーを持っている場合、どれを使うかを Git に伝える必要があります。 -{% data reusables.command_line.open_the_multi_os_terminal %} -{% data reusables.gpg.configure-gpg-signing %} -{% data reusables.gpg.list-keys-with-note %} -{% data reusables.gpg.copy-gpg-key-id %} -{% data reusables.gpg.paste-gpg-key-id %} -{% data reusables.gpg.set-auto-sign %} -1. To add your GPG key to your `.bashrc` startup file, run the following command: +{% data reusables.command_line.open_the_multi_os_terminal %} {% data reusables.gpg.configure-gpg-signing %} {% data reusables.gpg.list-keys-with-note %} {% data reusables.gpg.copy-gpg-key-id %} {% data reusables.gpg.paste-gpg-key-id %} {% data reusables.gpg.set-auto-sign %} +1. GPG キーを `.bashrc` スタートアップ ファイルに追加するには、次のコマンドを実行します。 ```bash $ [ -f ~/.bashrc ] && echo 'export GPG_TTY=$(tty)' >> ~/.bashrc ``` -{% endlinux %} -{% ifversion ssh-commit-verification %} +{% endlinux %} {% ifversion ssh-commit-verification %} -## Telling Git about your SSH key +## Git に SSH キーについて知らせる -You can use an existing SSH key to sign commits and tags, or generate a new one specifically for signing. For more information, see "[Generating a new SSH key and adding it to the ssh-agent](/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)." +既存の SSH キーを使ってコミットとタグに署名することも、署名専用に新しいキーを生成することもできます。 詳細については、「[新しい SSH キーを生成して ssh-agent に追加する](/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)」を参照してください。 {% data reusables.gpg.ssh-git-version %} -{% data reusables.command_line.open_the_multi_os_terminal %} -{% data reusables.gpg.configure-ssh-signing %} -{% data reusables.gpg.paste-ssh-public-key %} +{% data reusables.command_line.open_the_multi_os_terminal %} {% data reusables.gpg.configure-ssh-signing %} {% data reusables.gpg.paste-ssh-public-key %} {% endif %} {% data reusables.gpg.x-509-key %} -## Further reading +## 関連項目 -- "[Adding a new SSH key to your GitHub account](/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)." -- "[Signing commits](/articles/signing-commits)" -- "[Signing tags](/articles/signing-tags)" +- [GitHub アカウントへの新しい SSH キーの追加](/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account) +- 「[コミットに署名する](/articles/signing-commits)」 +- [タグに署名する](/articles/signing-tags) diff --git a/translations/ja-JP/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md b/translations/ja-JP/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md index d1ee841dbc..1fbe337b85 100644 --- a/translations/ja-JP/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md +++ b/translations/ja-JP/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md @@ -1,7 +1,7 @@ --- -title: About billing for GitHub Codespaces +title: GitHub Codespaces の請求について shortTitle: About billing -intro: 'Learn about the costs for using {% data variables.product.prodname_github_codespaces %}, and the monthly usage quotas included with {% data variables.product.prodname_dotcom %} personal accounts.' +intro: '{% data variables.product.prodname_github_codespaces %} を使用するためのコストと、{% data variables.product.prodname_dotcom %} 個人用アカウントに含まれる月間使用量クォータについて説明します。' miniTocMaxHeadingLevel: 3 versions: fpt: '*' @@ -17,183 +17,187 @@ redirect_from: - /codespaces/codespaces-reference/about-billing-for-codespaces - /codespaces/codespaces-reference/understanding-billing-for-codespaces - /codespaces/codespaces-reference/understanding-billing-for-github-codespaces.md +ms.openlocfilehash: 24410721878cd77d2528a4d9e8c91633725ce661 +ms.sourcegitcommit: 99eb4456062aea31ca381977396417cf92e5798d +ms.translationtype: HT +ms.contentlocale: ja-JP +ms.lasthandoff: 11/21/2022 +ms.locfileid: '148179549' --- - -## {% data variables.product.prodname_github_codespaces %} pricing +## {% data variables.product.prodname_github_codespaces %} 価格 {% data reusables.codespaces.codespaces-free-for-personal-intro %} -Charges are billed to an organization or enterprise when all of the following are true: +次のすべてに該当する場合、料金は Organization または Enterprise に対して請求されます。 -- The repository from which a codespace is started (or the parent repository, in the case of a forked repository) is owned by an organization. -- The organization is configured to be billed for codespaces created from the repository or forks of the repository. -- The user creating the codespace belongs to the organization, or is an outside collaborator affiliated with the organization, and the organization has chosen to pay for this user's use of organization-owned codespaces. +- codespace が開始されるリポジトリ (またはフォークされたリポジトリの場合は親リポジトリ) が Organization によって所有される。 +- Organization は、リポジトリまたはリポジトリのフォークから作成された codespace に対して課金されるように構成されている。 +- codespace を作成するユーザーが、Organization に属しているか、または Organization と提携する外部のコラボレーターであり、Organization は、このユーザーによる Organization 所有の codespace の使用分の料金を負担することを選択している。 -Otherwise use of {% data variables.product.prodname_github_codespaces %} applies to the personal account of the person who created the codespace, and either consumes some of the monthly included usage for their personal account, or their account is billed according to their usage in excess of their included quotas. +それ以外の場合、{% data variables.product.prodname_github_codespaces %} の使用は、codespace を作成したユーザーの個人用アカウントに適用され、個人用アカウントに含まれる月間使用量の一部が消費されます。または、含まれているクォータを超えた場合、その使用量に応じてアカウントに課金されます。 -For information about how to configure an organization to be billed for codespace usage, see "[Enabling {% data variables.product.prodname_github_codespaces %} for your organization](/codespaces/managing-codespaces-for-your-organization/enabling-github-codespaces-for-your-organization)." The Free, Team, and Enterprise plans for organization and enterprise accounts do not include any free use of {% data variables.product.prodname_github_codespaces %}. +codespace の使用量に対して課金されるように Organization を構成する方法については、「[Organization の {% data variables.product.prodname_github_codespaces %} を有効にする](/codespaces/managing-codespaces-for-your-organization/enabling-github-codespaces-for-your-organization)」を参照してください。 Organization および Enterprise アカウントの無料、Team、Enterprise プランには、{% data variables.product.prodname_github_codespaces %} の無料使用は含まれません。 -### Monthly included storage and core hours for personal accounts +### 個人用アカウントに含まれる月間ストレージとコア時間 -The following storage and core hours of usage are included, free of charge, for personal accounts: +個人用アカウントには、次のストレージとコア時間の使用量が無料で含まれています。 -| Account plan | Storage per month | Core hours per month | +| アカウント プラン | 1 か月あたりのストレージ | 1 か月あたりのコア時間 | | ------------ | ----------------- | -------------------- | -| {% data variables.product.prodname_dotcom %} Free for personal accounts | 15 GB-month | 120 | -| {% data variables.product.prodname_dotcom %} Pro | 20 GB-month | 180 | +| 個人用アカウント用の {% data variables.product.prodname_dotcom %} | 15 GB/月 | 120 | +| {% data variables.product.prodname_dotcom %} Pro | 20 GB/月 | 180 | {% note %} -**Notes**: -- The GB-month unit of storage is a time-based measurement, 1 GB-month being 1 GB of storage usage for one whole month. The disk space used by all of your codespaces and prebuilds is assessed once an hour and your current GB-month usage is recalculated. Therefore, while you have codespaces and prebuilds, your GB-month usage will increase throughout the month. For example, if the storage totals 15 GB, and remains unchanged throughout your monthly billing cycle, then you will have used 7.5 GB halfway through the month, and 15 GB at the end of the month. For more information, see "[Billing for storage usage](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#billing-for-storage-usage)" below. -- A "core hour" is a measure used for included compute usage. To calculate core hours, multiply the number of hours for which a codespace has been active by the multiplier in the pricing table below. For the basic machine types, the multiplier is the number of processor cores in the machine that hosts the codespace. For example, if you use a 2-core machine for your codespace and it's active for an hour, you have used 2 core hours. If you use an 8-core machine for an hour, you have used 8 core hours. If you use an 8-core machine for two hours, you have used 16 core hours. +**注**: +- ストレージの GB/月という単位は時間ベースの測定値であり、1 GB/月は 1 GB のストレージを 1 か月間使用できます。 すべての codespace と prebuild によって使われているディスク領域が 1 時間に 1 回評価されて、現在の GB/月の使用量が再計算されます。 そのため、codespace と prebuild がある間は、GB/月の使用量が月を通して増加します。 たとえば、ストレージの合計が 15 GB で、1 か月の請求サイクルを通して変わらない場合は、半月の時点で 7.5 GB、月末の時点で 15 GB 使われます。 詳しくは、後の「[ストレージ使用量に対する課金](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#billing-for-storage-usage)」をご覧ください。 +- "コア時間" は、含まれるコンピューティング使用量に対して使われるメジャーです。 コア時間を計算するには、codespace がアクティブになっていた時間数に次の料金表の乗数を掛けます。 基本的なマシンの種類の場合、乗数は、codespace をホストするマシン内のプロセッサ コアの数です。 たとえば、codespace に 2 コアのマシンを使用し、それが 1 時間アクティブな場合、2 コア時間使用したことになります。 8 コアのマシンを 1 時間使用すると、8 コア時間使用したことになります。 8 コアのマシンを 2 時間使用すると、16 コア時間使用したことになります。 {% endnote %} -You will be notified by email when you have used 75%, 90%, and 100% of your included quotas. Notifications are also displayed in a "toast" message within {% data variables.product.prodname_vscode_shortname %} and the {% data variables.product.prodname_vscode_shortname %} web client. You can turn off email notifications if required. For more information, see "[Managing the spending limit for GitHub Codespaces](/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces#managing-usage-and-spending-limit-email-notifications)." +含まれるクォータの 75%、90%、100% を使用すると、メールで通知されます。 通知は、{% data variables.product.prodname_vscode_shortname %} および {% data variables.product.prodname_vscode_shortname %} Web クライアント内の "トースト" メッセージにも表示されます。 メール通知は、必要に応じてオフにすることができます。 詳しい情報については、「[GitHub Codespaces の使用制限を管理する](/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces#managing-usage-and-spending-limit-email-notifications)」を参照してください。 -When a personal account has used all of either the included storage or compute usage (whichever is reached first), and has no spending limit configured, use of {% data variables.product.prodname_github_codespaces %} will be blocked. You must set up a payment method and a spending limit to continue using {% data variables.product.prodname_github_codespaces %} during the current billing month. At the beginning of the next monthly billing cycle the included usage is reset. Storage will not be billed while use of {% data variables.product.prodname_github_codespaces %} is blocked. +個人用アカウントで、含まれているストレージまたはコンピューティング使用量 (どちらか先に到達した方) をすべて使用し、使用制限が構成されていない場合、{% data variables.product.prodname_github_codespaces %} の使用はブロックされます。 現在の請求月中に {% data variables.product.prodname_github_codespaces %} を引き続き使用するには、支払い方法と使用制限を設定する必要があります。 含まれる使用量は、翌月の請求期間の開始時にリセットされます。 {% data variables.product.prodname_github_codespaces %} の使用がブロックされている間、ストレージには課金されません。 -You can view details of your usage for the current month at any time. For more information, see "[Viewing your {% data variables.product.prodname_github_codespaces %} usage](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)." +当月の使用状況の詳細はいつでも表示できます。 詳細については、「[{% data variables.product.prodname_github_codespaces %} の使用状況を表示する](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)」を参照してください。 -If you are blocked from resuming a codespace and you want to continue to work on changes you have made in your codespace, you can do any of the following: +codespace の再開がブロックされ、codespace で行った変更の作業を続ける場合は、次のいずれかの方法を取ることができます。 -- Add a payment method and a spending limit greater than $0 USD. -- Export the changes from the codespace to a branch. For more information, see "[Exporting changes to a branch](/codespaces/troubleshooting/exporting-changes-to-a-branch)." -- Wait for your monthly included usage to reset at the start of the next monthly billing cycle. +- 支払い方法と、0 米ドルを超える使用制限を追加する。 +- 変更を codespace からブランチにエクスポートする。 詳細については、「[ブランチへの変更のエクスポート](/codespaces/troubleshooting/exporting-changes-to-a-branch)」を参照してください。 +- 含まれる月間使用量が翌月の請求期間の開始時にリセットされるまで待つ。 -If you have used all of either your included storage usage or your included compute usage, and you have set up a payment method and a spending limit, any further use of codespaces owned by your personal account will incur charges for whichever type of usage has no remaining included quota. You will not be charged for the other type of usage until you have also used all of its included quota. +含まれているストレージ使用量または含まれているコンピューティング使用量のいずれかをすべて使用し、支払い方法と使用制限を設定している場合、個人用アカウントによって所有されている codespace をさらに使用すると、含まれているクォータが残っていない使用量の種類に対して料金が発生します。 もう一方の種類の使用量については、含まれているクォータをすべて使用するまで課金されることはありません。 -### Pricing for paid usage +### 有料使用の料金 -A {% data variables.product.prodname_github_codespaces %} instance (a "codespace") incurs charges for compute time, while it is active, and for the amount of disk space the codespace occupies, while it exists. The compute cost is proportional to the number of processor cores in the machine type you choose for your codespace, as shown in the table below. For example, the compute cost of using a codespace for an hour on a 16-core machine is eight times greater than a 2-core machine. +{% data variables.product.prodname_github_codespaces %} インスタンス ("コードスペース") では、アクティブな間はコンピューティング時間に対して、存在する間は codespace が占有するディスク領域の容量に対して料金が発生します。 次の表に示すように、コンピューティング コストは、codespace 用に選択したマシンの種類内のプロセッサ コアの数に比例します。 たとえば、16 コアのマシンで codespace を 1 時間使用する場合のコンピューティング コストは、2 コアのマシンの 8 倍になります。 -| Component | Machine type | Unit of measure | Included usage multiplier | Price | +| コンポーネント | マシンの種類 | Unit of measure | 含まれる使用量の乗数 | Price | | ------------------- | ------------ | --------------- | ------------------------- | ----- | -| Codespaces compute | 2 core | 1 hour | 2 | $0.18 | -| | 4 core | 1 hour | 4 | $0.36 | -| | 8 core | 1 hour | 8 | $0.72 | -| | 16 core | 1 hour | 16 | $1.44 | -| | 32 core | 1 hour | 32 | $2.88 | -| Codespaces storage | Storage | 1 GB-month* | N/A | $0.07 | +| Codespaces コンピューティング | 2 コア | 1 時間 | 2 | $0.18 | +| | 4 コア | 1 時間 | 4 | $0.36 | +| | 8 コア | 1 時間 | 8 | $0.72 | +| | 16コア | 1 時間 | 16 | $1.44 | +| | 32コア | 1 時間 | 32 | $2.88 | +| Codespaces ストレージ | ストレージ | 1 GB/月* | 該当なし | $0.07 | -* See "[Billing for storage usage](#billing-for-storage-usage)" below for details of the GB-month unit of measure. +* 測定単位 GB/月の詳しい情報については、下記の「[ストレージ使用量に対する課金](#billing-for-storage-usage)」を参照してください。 -If you enable prebuilding of codespaces this will incur additional charges. For more information, see "[Billing for {% data variables.product.prodname_codespaces %} prebuilds](#billing-for-codespaces-prebuilds)." +Codespace のプレビルドを有効にすると、追加料金がかかります。 詳しい情報については、「[{% data variables.product.prodname_codespaces %} のプレビルドに対する課金](#billing-for-codespaces-prebuilds)」を参照してください。 -## About billing for {% data variables.product.prodname_github_codespaces %} +## {% data variables.product.prodname_github_codespaces %} に対する課金について -{% data variables.product.prodname_github_codespaces %} is billed in US dollars (USD) according to the amount of compute time and storage space your codespaces use. {% data reusables.codespaces.codespaces-monthly-billing %} +{% data variables.product.prodname_github_codespaces %} は、コンピューティング時間と codespace で使用するストレージ領域の容量に応じて、米ドル (USD) で課金されます。 {% data reusables.codespaces.codespaces-monthly-billing %} -Billing for {% data variables.product.prodname_github_codespaces %} shares your account's existing payment method, and receipt. For more information, see "[Viewing your subscriptions and billing date](/articles/viewing-your-subscriptions-and-billing-date)." +{% data variables.product.prodname_github_codespaces %} の請求は、アカウントの既存の支払い方法と領収書を共有します。 詳しい情報については、「[プランと請求日を表示する](/articles/viewing-your-subscriptions-and-billing-date)」を参照してください。 -{% ifversion ghec %} -If you purchased {% data variables.product.prodname_enterprise %} through a Microsoft Enterprise Agreement, you can connect your Azure Subscription ID to your enterprise account to enable and pay for {% data variables.product.prodname_github_codespaces %} usage. For more information, see "[Connecting an Azure subscription to your enterprise](/billing/managing-billing-for-your-github-account/connecting-an-azure-subscription-to-your-enterprise)." +{% ifversion ghec %}Microsoft Enterprise Agreement を通じて {% data variables.product.prodname_enterprise %} を購入した場合、Azure サブスクリプション ID を Enterprise アカウントに接続し、{% data variables.product.prodname_github_codespaces %} の使用を有効にして支払うことができます。 詳細については、「[Azure サブスクリプションを Enterprise に接続する](/billing/managing-billing-for-your-github-account/connecting-an-azure-subscription-to-your-enterprise)」を参照してください。 {% endif %} -### Billing for compute usage -The compute usage of a codespace is the length of time for which that codespace is active multiplied by the multiplier in the pricing table for the machine type of the codespace. Total compute usage is calculated by summing the time used by all codespaces billable to a particular account. These totals are reported to the billing service every hour, and are billed monthly. +### コンピューティング使用量に対する課金 +codespace のコンピューティング使用量は、その codespace がアクティブである時間の長さに、codespace のマシンの種類の料金表にある乗数を掛けたものです。 コンピューティング使用量の合計は、特定のアカウントに請求可能なすべての codespace で使用された時間を合計して計算されます。 これらの合計は、1 時間ごとに課金サービスに報告され、毎月請求されます。 -As an example, if a codespace is active for 1 hour and 15 minutes, then the compute cost will be the hourly cost of the codespace, as determined by its machine type, multiplied by 1.25. +たとえば、codespace が 1 時間 15 分アクティブである場合、コンピューティング コストは、マシンの種類によって決定される codespace の 1 時間あたりのコストに 1.25 を掛けたものになります。 -You can control compute usage by stopping your codespaces. For information, see "[Stopping and starting a codespace](/codespaces/developing-in-codespaces/stopping-and-starting-a-codespace)." Codespaces are stopped automatically after a configurable period of inactivity. The timeout period can be configured by the user, or at the organization level. For more information, see "[Setting your timeout period for {% data variables.product.prodname_github_codespaces %}](/codespaces/customizing-your-codespace/setting-your-timeout-period-for-github-codespaces)" and "[Restricting the idle timeout period](/codespaces/managing-codespaces-for-your-organization/restricting-the-idle-timeout-period)." +コンピューティング使用量は、codespace を停止することで制御できます。 詳しい情報については、「[codespace の停止と開始](/codespaces/developing-in-codespaces/stopping-and-starting-a-codespace)」を参照してください。 codespace は、構成可能な非アクティブ期間後に自動的に停止されます。 タイムアウト期間は、ユーザーによって、または Organization レベルで構成できます。 詳しい情報については、「[{% data variables.product.prodname_github_codespaces %} のタイムアウト期間を設定する](/codespaces/customizing-your-codespace/setting-your-timeout-period-for-github-codespaces)」および「[アイドル タイムアウト期間を制限する](/codespaces/managing-codespaces-for-your-organization/restricting-the-idle-timeout-period)」を参照してください。 -### Billing for storage usage -For {% data variables.product.prodname_github_codespaces %} billing purposes, storage comprises the disk space used by all of the codespaces and prebuilds in your account. This includes any files you use in a codespace, such as cloned repositories, configuration files, data loaded to the codespace (for example as input or output of the software running in the repository), and extensions, among others. Storage is billed for all of your existing codespaces, regardless of whether they are active or inactive with the exception of blocked usage due to exhausted included usage quota or reaching your spending limit. The storage billing for a codespace ends when it is deleted. +### ストレージ使用量に対する課金 +{% data variables.product.prodname_github_codespaces %} に対する課金のために、ストレージは、アカウント内のすべての codespace とプレビルドで使用されるディスク領域で構成されます。 これには、クローンされたリポジトリ、構成ファイル、codespace に読み込まれたデータ (たとえば、リポジトリで実行されているソフトウェアの入出力など)、拡張機能など、codespace で使用されるすべてのファイルが含まれます。 ストレージは、codespace がアクティブであるか非アクティブであるかに関係なく、既存のすべての codespace に対して課金されます。ただし、含まれている使用量クォータが使い果たされたか、または使用制限に達したために使用がブロックされている期間を除きます。 codespace のストレージに対する課金は、codespace が削除されると終了します。 {% note %} -**Notes**: +**注**: -- When you use the default dev container configuration (see "[Introduction to dev containers](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#using-the-default-dev-container-configuration)"), we do not count the default container as used storage. When you create a custom container using a dev container configuration with a different base image we do count the container as used storage. -- When you rebuild your container from the default image we do not count the base container as used storage. For other base images all of the storage consumed by the codespace, including the base container, is counted as used storage. +- 既定の開発コンテナー構成 (「[開発コンテナーの概要](/codespaces/setting-up-your-project-for-codespaces/introduction-to-dev-containers#using-the-default-dev-container-configuration)」を参照) を使用する場合、既定のコンテナーは、使用済みストレージとしてカウントされません。 開発コンテナー構成と別の基本イメージを使用してカスタム コンテナーを作成する場合、コンテナーは使用済みストレージとしてカウントされます。 +- 既定のイメージからコンテナーを再構築する場合、基本コンテナーは使用済みストレージとしてカウントされません。 その他の基本イメージの場合、基本コンテナーを含めて、codespace で消費されるすべてのストレージは、使用済みストレージとしてカウントされます。 {% endnote %} -Codespace storage is reported in GB-months. Your billing month runs from a fixed day in one month until the same day in the next month. In most cases the day of the month is determined by the day you started on your current {% data variables.product.prodname_dotcom %} plan. Your GB-month storage is calculated as follows. Once every hour, the storage used by all of your currently active and stopped codespaces is assessed. This figure is then divided by the number of hours in the current billing month: `total storage size / hours this month`. The result is added to the running total for codespace storage for the month. +codespace ストレージは、GB/月単位で報告されます。 請求月は、月中の所定の日から翌月の同日までです。 ほとんどの場合、月中の日は、現在の {% data variables.product.prodname_dotcom %} プランの開始日によって決まります。 ストレージ (GB/月) は、次のように計算されます。 1 時間に 1 回、現在アクティブな codespace と停止している codespace のすべてで使用されているストレージが評価されます。 次に、この数字を、現在の請求月内の時間数で除算します (`total storage size / hours this month`)。 結果は、その月の codespace ストレージの累計に加算されます。 -For example, if you have one codespace that uses 100 GB of storage and has existed for one hour you will have used `100 / (24 * 30) = 0.1388` GB-months of storage in a 30-day month. If your use of {% data variables.product.prodname_github_codespaces %} during a 30-day month consists of two 100 GB codespaces that both existed for three full days then there will be `24 * 3` hourly reports for the storage of these codespaces, giving a total of `(24 * 3) * 200 / (24 * 30) = 20` GB-months. +たとえば、100 GB のストレージを使用する codespace が 1 つあり、1 時間存在している場合、1 か月 (30 日) に `100 / (24 * 30) = 0.1388` GB/月のストレージを使用したことになります。 30 日間の月に {% data variables.product.prodname_github_codespaces %} を使用した場合、3 日間存在していた 2 つの 100 GB のコードスペースが構成されている場合は、これらの codespace のストレージに関する時間単位の`24 * 3`レポートが作成され、合計 GB 月が提供されます`(24 * 3) * 200 / (24 * 30) = 20`。 -For each hourly report, the storage usage for the previous hour is calculated in seconds. As a result, you won't be charged for a full hour of storage if a codespace did not exist for the full 60 minutes. At the end of the month, {% data variables.product.prodname_dotcom %} rounds your storage to the nearest MB. +各毎時レポートでは、前の 1 時間のストレージ使用量が秒単位で計算されます。 その結果、codespace が 60 分間完全に存在しなかった場合、ストレージの丸 1 時間分は請求されません。 月末に、{% data variables.product.prodname_dotcom %}はストレージ使用量を最も近いGBに丸めます。 -Organization owners can: -- List the currently active and stopped codespaces for your organization. For more information, see "[Listing the codespaces in your organization](/codespaces/managing-codespaces-for-your-organization/listing-the-codespaces-in-your-organization)." In addition to the cost of these codespaces, the cost of {% data variables.product.prodname_github_codespaces %} for the current month may include costs for codespaces that existed earlier in the current month but have since been deleted. -- See the total {% data variables.product.prodname_github_codespaces %} compute and storage usage for your organization for the current month to date. For more information, see "[Viewing your {% data variables.product.prodname_github_codespaces %} usage](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)." -- Configure your organization settings to manage the cost of {% data variables.product.prodname_github_codespaces %}. For more information, see "[Managing the cost of {% data variables.product.prodname_github_codespaces %} in your organization](/codespaces/managing-codespaces-for-your-organization/managing-the-cost-of-github-codespaces-in-your-organization)." +Organization 所有者は次の作業を行うことができます。 +- Organization の現在アクティブな codespace と停止されている codespace を一覧表示する。 詳しい情報については、「[Organization 内の codespace を一覧表示する](/codespaces/managing-codespaces-for-your-organization/listing-the-codespaces-in-your-organization)」を参照してください。 当月の {% data variables.product.prodname_github_codespaces %} のコストには、これらの codespace に加えて、当月のはじめに存在していたがその後削除された codespace のコストが含まれる場合があります。 +- 当月の当日までの Organization の {% data variables.product.prodname_github_codespaces %} コンピューティング使用量とストレージ使用量を確認する。 詳細については、「[{% data variables.product.prodname_github_codespaces %} の使用状況を表示する](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)」を参照してください。 +- {% data variables.product.prodname_github_codespaces %} のコストを管理するように Organization の設定を構成する。 詳しい情報については、「[Organization 内の {% data variables.product.prodname_github_codespaces %} のコストを管理する](/codespaces/managing-codespaces-for-your-organization/managing-the-cost-of-github-codespaces-in-your-organization)」を参照してください。 -To estimate the costs for metered services, you can use the {% data variables.product.prodname_dotcom %} [pricing calculator](https://github.com/pricing/calculator?feature=codespaces). +従量制サービスのコストを見積もるには、{% data variables.product.prodname_dotcom %} [料金計算ツール](https://github.com/pricing/calculator?feature=codespaces) を使用できます。 -### Billing for {% data variables.product.prodname_codespaces %} prebuilds +### {% data variables.product.prodname_codespaces %}プレビルドに対する支払い -{% data reusables.codespaces.prebuilds-definition %} For more information, see "[About {% data variables.product.prodname_github_codespaces %} prebuilds](/codespaces/prebuilding-your-codespaces/about-github-codespaces-prebuilds)." +{% data reusables.codespaces.prebuilds-definition %} 詳しい情報については、「[{% data variables.product.prodname_github_codespaces %} のプレビルドについて](/codespaces/prebuilding-your-codespaces/about-github-codespaces-prebuilds)」を参照してください。 -#### {% data variables.product.prodname_actions %} costs for prebuilds +#### プレビルドの {% data variables.product.prodname_actions %} コスト -Prebuilds are created and updated by running a {% data variables.product.prodname_actions %} workflow on a {% data variables.product.prodname_dotcom %}-hosted runner. You can configure how you want prebuild updates to be automatically triggered. For information, see "[Configuring prebuilds](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-a-prebuild)." +プレビルドは、{% data variables.product.prodname_dotcom %} でホストされるランナーで {% data variables.product.prodname_actions %} ワークフローを実行することによって作成および更新されます。 プレビルドの更新を自動的にトリガーする方法を構成できます。 詳しい情報については、「[プレビルドの構成](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-a-prebuild)」を参照してください。 -As with other workflows, while prebuild workflows are running they consume {% data variables.product.prodname_actions %} minutes included with your account, if you have any, or they incur charges for {% data variables.product.prodname_actions %} minutes. For more information about pricing for {% data variables.product.prodname_actions %} minutes, see "[About billing for {% data variables.product.prodname_actions %}](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)." There is no associated {% data variables.product.prodname_codespaces %} compute cost for creating or updating prebuilds. +他のワークフローと同様に、プレビルド ワークフローが実行されている間、アカウントに含まれている {% data variables.product.prodname_actions %} の分数を消費するか (残っている場合)、{% data variables.product.prodname_actions %} の分数に対して料金が発生します。 {% data variables.product.prodname_actions %} の分数の料金について詳しくは、「[{% data variables.product.prodname_actions %} に対する課金について](/billing/managing-billing-for-github-actions/about-billing-for-github-actions)」を参照してください。 プレビルドの作成または更新に伴う {% data variables.product.prodname_codespaces %} コンピューティング コストはありません。 -You can track usage of prebuild workflows and storage by downloading a usage report for your account. For more information, see "[Viewing your {% data variables.product.prodname_github_codespaces %} usage](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)." +プレビルド ワークフローとストレージの使用量を追跡するには、お使いのアカウントの使用状況レポートをダウンロードします。 詳細については、「[{% data variables.product.prodname_github_codespaces %} の使用状況を表示する](/billing/managing-billing-for-github-codespaces/viewing-your-github-codespaces-usage)」を参照してください。 -#### Storage costs for prebuilds +#### プレビルドのストレージ コスト -In addition to {% data variables.product.prodname_actions %} minutes, you will also be billed for the storage of prebuilds associated with each prebuild configuration, for a given repository and region. Storage of prebuilds is billed at the same rate as storage of codespaces. +{% data variables.product.prodname_actions %} の分数に加えて、特定のリポジトリおよびリージョンの各プレビルド構成に関連付けられたプレビルドのストレージに対しても課金されます。 プレビルドのストレージは、codespace のストレージと同じレートで課金されます。 -The storage cost for a prebuild in a single region will be similar to the storage cost that will be incurred for storing a single codespace created from that prebuild. The storage cost for the generated codespace may be more than the cost for the prebuild if, for example, the `updateContentCommand` and `postCreateCommand` commands are used during codespace creation to download more files to the dev container. +1 つのリージョン内のプレビルドのストレージ コストは、そのプレビルドから作成された 1 つの codespace を格納するために発生するストレージ コストはほぼ同じです。 たとえば、codespace の作成時に `updateContentCommand` コマンドと `postCreateCommand` コマンドを使用してより多くのファイルを開発コンテナーにダウンロードする場合、生成された codespace のストレージ コストは prebuild のコストを超える可能性があります。 -The total storage costs associated with a prebuild configuration will depend on the following factors. +プレビルド構成に関連付けられた合計ストレージは、次の要因によって異なります。 -- The price of storage per GB. See the table above. -- The size of the generated prebuild in GB. -- The number of regions in which the prebuild is available (because a copy of the prebuild is stored in each region). -- The number of older versions of the prebuild that are retained. +- GB あたりのストレージ料金。 上記の表を参照してください。 +- 生成されたプレビルドのサイズ (GB 単位)。 +- プレビルドを使用できるリージョンの数 (プレビルドのコピーが各リージョンに格納されるため)。 +- 保持されているプレビルドの以前のバージョンの数。 -The storage cost for the prebuilds generated by a prebuild configuration is therefore calculated as: `price per GB * size (GB) * regions * versions`. +このため、プレビルド構成によって生成されるプレビルドのストレージ コストは、`price per GB * size (GB) * regions * versions`として計算されます。 -#### Controlling the cost of prebuilds +#### プレビルドのコストの制御 -To reduce consumption of Actions minutes, you can set a prebuild to be updated only when you make a change to your dev container configuration files, or only on a custom schedule. You can also manage your storage usage by adjusting the number of previous versions of each prebuild that are retained. For more information, see "[Configuring prebuilds](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-prebuilds)." +Actions 利用時間 (分) の消費を抑えるために、開発コンテナー構成ファイルを変更したときのみ、またはカスタム スケジュールで指定したときにのみ、プレビルドを更新するように設定することができます。 また、保持されている各プレビルドの以前のバージョンの数を調整することで、ストレージ使用量を管理することもできます。 詳しくは、「[事前ビルドを構成する](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-prebuilds)」をご覧ください。 -To limit the storage costs associated with prebuilds, you can choose to create prebuilds only in selected regions, and you can specify the number of older versions of prebuilds that will be retained. For more information, see "[Configuring prebuilds](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-prebuilds)." +プレビルドに関連付けられたストレージ コストを制限するには、選択されたリージョンのみでプレビルドを作成することを選択できます。また、保持される以前のバージョンのプレビルドの数を指定することもできます。 詳しくは、「[事前ビルドを構成する](/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-prebuilds)」をご覧ください。 {% note %} -**Note**: Prebuilds may be updated several times during a billing month. Newer versions of a prebuild may be larger or smaller than the previous versions. This will affect the storage charges. For details of how storage is calculated during a billing month, see "[Billing for storage usage](#billing-for-storage-usage)" above. +**注**: プレビルドは、請求月中に複数回更新される場合があります。 プレビルドの新しいバージョンは、以前のバージョンよりも大きい場合もあれば、小さい場合もあります。 これは、ストレージ料金に影響します。 請求月中のストレージを計算する方法の詳しい情報については、上記の「[ストレージ使用量に対する課金](#billing-for-storage-usage)」を参照してください。 {% endnote %} -#### Cost of codespaces created from prebuilds +#### プレビルドから作成された codespace のコスト -Use of codespaces created using prebuilds is charged at the same rate as regular codespaces. +プレビルドを使用して作成された codespace の使用は、通常の codespace と同じレートで課金されます。 -## Setting a spending limit +## 利用限度の設定 {% data reusables.codespaces.codespaces-spending-limit-requirement %} -For information on managing and changing your account's spending limit, see "[Managing your spending limit for {% data variables.product.prodname_github_codespaces %}](/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces)." +アカウントの使用制限の管理と変更について詳しくは、「[{% data variables.product.prodname_github_codespaces %} の使用制限の管理](/billing/managing-billing-for-github-codespaces/managing-the-spending-limit-for-github-codespaces)」を参照してください。 {% data reusables.codespaces.exporting-changes %} -## Limiting the machine types for organization-owned codespaces +## Organization で所有する codespace のマシンの種類を制限する -By default the machine type with the lowest valid resources is used when a codespace is created. However, users may be able to choose a machine type with more resources. They can do this either when they create a codespace, or they can change the machine type of an existing codespace. For more information, see "[Creating a codespace for a repository](/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository)" and "[Changing the machine type for your codespace](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace)." +既定では、codespace を作成するときに、有効なリソースが最も少ないマシンの種類が使われます。 ただし、よりリソースの多いマシンの種類をユーザーが選択できる場合があります。 これは、codespace を作成するとき、または既存の codespace のマシンの種類を変更するときに行うことができます。 詳しい情報については、「[リポジトリ用の codespace を作成する](/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository#creating-a-codespace-for-a-repository)」および「[codespace のマシンの種類を変更する](/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace)」を参照してください。 -If a machine type that has more resources is chosen, this will affect the per-hour charge for that codespace, as shown above. +リソース数の多いマシンの種類を選択した場合、前述のとおり、その codespace の 1 分あたりの料金に影響します。 -Organization owners can create a policy to limit the choice of machine types available to users for codespaces that are billed to an organization or enterprise account. For more information, see "[Restricting access to machine types](/codespaces/managing-codespaces-for-your-organization/restricting-access-to-machine-types)." +Organization 所有者は、Organization または Enterprise アカウントに課金される codespace 用にユーザーが選択できるマシンの種類を制限するポリシーを作成できます。 詳細については、「[コンピューターの種類へのアクセスの制限](/codespaces/managing-codespaces-for-your-organization/restricting-access-to-machine-types)」を参照してください。 -## How billing is handled for forked repositories +## フォークされたリポジトリでの支払いの扱い -Usage of codespaces created from a forked repository will be billed to your personal account unless the upstream (or parent) repository is in an organization that has allowed you - as a member, or outside collaborator, of the organization - to use codespaces at the organization's expense. +アップストリーム (または親) リポジトリが、ユーザーが Organization のメンバーまたは外部コラボレーターとして Organization の codespace を使用することが許可されている Organization 内に存在する場合を除いて、フォークされたリポジトリから作成された codespace の使用は、そのユーザーの個人アカウントに課金されます。 -For example, consider a member, or outside collaborator, of an organization that has allowed billing for codespaces for that user. If the user has permission to fork an organization-owned private repository, they can subsequently create and use a codespace for the new repository at the organization's expense. This is because the organization is the owner of the parent repository. Note that the organization owner can remove the user's access to the private repository, the forked repository, and therefore also the codespace. The organization owner can also delete the parent repository which will also delete the forked repository. For more information, see "[Managing the forking policy for your repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-forking-policy-for-your-repository)." +たとえば、そのユーザーの codespace に対する課金を許可している組織のメンバーまたは外部コラボレーターについて考えてみましょう。 ユーザーが Organization 所有のプライベート リポジトリをフォークするアクセス許可を持っている場合、その後、Organization の費用で新しいリポジトリ用の codespace を作成して使用できます。 これは、Organization が親リポジトリの所有者であるためです。 Organization 所有者は、プライベート リポジトリ、フォークされたリポジトリ、したがって codespace へのユーザーのアクセス権を削除できることに注意してください。 Organization 所有者は、親ディレクトリを削除できます。これにより、フォークされたリポジトリも削除されます。 詳細については、「[リポジトリのフォーク ポリシーを管理する](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-forking-policy-for-your-repository)」を参照してください。 {% data reusables.codespaces.codespaces-disabling-org-billing %} -## How billing is handled when a repository is transferred to another organization +## リポジトリが別の Organization に移転された場合の課金の処理方法 -Usage is calculated every hour. An organization pays for usage of codespaces created from any repository owned by the organization, where the organization settings permit the organization to be billed. For more information, see "[Enabling {% data variables.product.prodname_github_codespaces %} for your organization](/codespaces/managing-codespaces-for-your-organization/enabling-github-codespaces-for-your-organization#choose-who-can-create-codespaces-that-are-billed-to-your-organization)." When a repository is transferred out of your organization, ownership and billing responsibility for any codespaces associated with that repository will change accordingly. +使用量は、1 時間ごとに計算されます。 Organization の設定で Organization に対して課金することを許可している場合、Organization は、Organization が所有するリポジトリから作成された codespace の使用量に対して料金を支払います。 詳しくは、「[Organization での {% data variables.product.prodname_github_codespaces %} の有効化](/codespaces/managing-codespaces-for-your-organization/enabling-github-codespaces-for-your-organization#choose-who-can-create-codespaces-that-are-billed-to-your-organization)」をご覧ください。 リポジトリが Organization から移転されると、それに応じて、そのリポジトリに関連付けられているすべての codespace の所有権と課金責任は変更されます。 -## What happens when users are removed +## ユーザが削除されたときに生じること -If a user is removed from an organization or repository, their codespaces are automatically deleted. +Organizationもしくはリポジトリからユーザが削除されると、そのユーザのcodespaceは自動的に削除されます。 diff --git a/translations/ja-JP/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md b/translations/ja-JP/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md new file mode 100644 index 0000000000..521fa86d92 --- /dev/null +++ b/translations/ja-JP/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md @@ -0,0 +1,70 @@ +--- +title: Privately reporting a security vulnerability +intro: Some public repositories configure security advisories so that anyone can report security vulnerabilities directly and privately to the maintainers. +versions: + fpt: '*' + ghec: '*' +type: how_to +miniTocMaxHeadingLevel: 3 +topics: + - Security advisories + - Vulnerabilities +shortTitle: Privately reporting +--- + +{% data reusables.security-advisory.private-vulnerability-reporting-beta %} + +{% data reusables.security-advisory.private-vulnerability-reporting-enable %} + +## About privately reporting a security vulnerability + +Security researchers often feel responsible for alerting users to a vulnerability that could be exploited. If there are no clear instuctions about contacting maintainers of the repository containing the vulnerability, security researchers may have no other choice but to post about the vulnerability on social media, send direct messages to the maintainer, or even create public issues. This situation can potentially lead to a public disclosure of the vulnerability details. + +Private vulnerability reporting makes it easy for security researchers to report vulnerabilities directly to repository maintainer using a simple form. + +For security researchers, the benefits of using private vulnerability reporting are: +- Less frustration, and less time spent trying to figure out how to contact the maintainer. +- A smoother process for disclosing and discussing vulnerability details. +- The opportunity to discuss vulnerability details privately with repository maintainer. + +{% note %} + +**Note:** If the repository doesn't have private vulnerabiliy reporting enabled, you need to initiate the reporting process by following the instructions in the security policy for the repository, or create an issue asking the maintainers for a preferred security contact. For more information, see "[About coordinated disclosure of security vulnerabilities](/code-security/security-advisories/guidance-on-reporting-and-writing/about-coordinated-disclosure-of-security-vulnerabilities#about-reporting-and-disclosing-vulnerabilities-in-projects-on-github)." + +{% endnote %} + +## Privately reporting a security vulnerability + +Security researchers can privately report a security vulnerability to repository maintainers. + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-security %} +{% data reusables.repositories.sidebar-advisories %} +1. Click **Report a vulnerability** to open the advisory form. + +  + +2. Fill in the advisory details form. + {% tip %} + + **Tip:** In this form, only the title and description are mandatory. (In the general draft security advisory form, which the repository maintainer initiates, specifying the ecosystem is also required.) However, we recommend security researchers provide as much information as possible on the form so that the maintainers can make an informed decision about the submitted report. You can adopt the template used by our security researchers from the {% data variables.product.prodname_security %}, which is available on the [`github/securitylab` repository](https://github.com/github/securitylab/blob/main/docs/report-template.md)." + + {% endtip %} + + For more information about the fields available and guidance on filling in the form, see "[Creating a repository security advisory](/code-security/security-advisories/repository-security-advisories/creating-a-repository-security-advisory)" and "[Best practices for writing repository security advisories](/code-security/security-advisories/guidance-on-reporting-and-writing/best-practices-for-writing-repository-security-advisories)." + +1. At the bottom of the form, click **Submit report**. {% data variables.product.prodname_dotcom %} will display a message letting you know that maintainers have been notified and that you have a pending credit for this security advisory. + +  + + {% tip %} + + **Tip:** When the report is submitted, {% data variables.product.prodname_dotcom %} automatically adds the reporter of the vulnerability as a collaborator and as a credited user on the proposed advisory. + + {% endtip %} + +1. Optionally, click **Start a temporary private fork** if you want to start to fix the issue. Note that only the repository maintainer can merge that private fork. + +  + +The next steps depend on the action taken by the repository maintainer. For more information, see "[Managing privately reported security vulnerabilities](/code-security/security-advisories/guidance-on-reporting-and-writing/managing-privately-reported-security-vulnerabilities)." diff --git a/translations/ja-JP/content/codespaces/the-githubdev-web-based-editor.md b/translations/ja-JP/content/codespaces/the-githubdev-web-based-editor.md index b013a79f90..d6092abba1 100644 --- a/translations/ja-JP/content/codespaces/the-githubdev-web-based-editor.md +++ b/translations/ja-JP/content/codespaces/the-githubdev-web-based-editor.md @@ -1,6 +1,6 @@ --- -title: The github.dev web-based editor -intro: 'Use the github.dev {% data variables.codespaces.serverless %} from your repository or pull request to create and commit changes.' +title: github.dev Web ベース エディター +intro: 'リポジトリから github.dev {% data variables.codespaces.serverless %}を使うか、pull request を使って、変更を作成およびコミットします。' versions: feature: githubdev-editor type: how_to @@ -12,104 +12,108 @@ topics: shortTitle: Web-based editor redirect_from: - /codespaces/developing-in-codespaces/web-based-editor +ms.openlocfilehash: adc5622d666f6a32e698a29ceedfc24217b27df9 +ms.sourcegitcommit: 57bef7d45acfa987d82e320c7581c87df320a28a +ms.translationtype: HT +ms.contentlocale: ja-JP +ms.lasthandoff: 11/18/2022 +ms.locfileid: '148172180' --- - {% note %} -**Note:** The github.dev {% data variables.codespaces.serverless %} is currently in beta preview. You can provide feedback [in our Discussions](https://github.com/community/community/discussions/categories/general). +**注:** 現在、github.dev {% data variables.codespaces.serverless %}はベータ プレビュー段階です。 ユーザーは[ディスカッションで](https://github.com/community/community/discussions/categories/general)フィードバックを提供できます。 {% endnote %} -## About the {% data variables.codespaces.serverless %} +## {% data variables.codespaces.serverless %}について -The {% data variables.codespaces.serverless %} introduces a lightweight editing experience that runs entirely in your browser. With the {% data variables.codespaces.serverless %}, you can navigate files and source code repositories from {% data variables.product.prodname_dotcom %}, and make and commit code changes. You can open any repository, fork, or pull request in the editor. +{% data variables.codespaces.serverless %}では、完全にブラウザー内で実行される軽量の編集エクスペリエンスが導入されています。 {% data variables.codespaces.serverless %}を使うと、{% data variables.product.prodname_dotcom %} からファイルとソース コード リポジトリに移動し、コードの変更を行ってコミットできます。 ユーザーは任意のリポジトリ、フォーク、または pull request をエディターで開くことができます。 -The {% data variables.codespaces.serverless %} is available to everyone for free on {% data variables.product.prodname_dotcom_the_website %}. +{% data variables.codespaces.serverless %}は、{% data variables.product.prodname_dotcom_the_website %} から誰でも無料で入手できます。 -The {% data variables.codespaces.serverless %} provides many of the benefits of {% data variables.product.prodname_vscode %}, such as search, syntax highlighting, and a source control view. You can also use Settings Sync to share your own {% data variables.product.prodname_vscode_shortname %} settings with the editor. For more information, see "[Settings Sync](https://code.visualstudio.com/docs/editor/settings-sync)" in the {% data variables.product.prodname_vscode_shortname %} documentation. +{% data variables.codespaces.serverless %}では、検索、構文の強調表示、ソース管理ビューなど、{% data variables.product.prodname_vscode %} の多くの利点が提供されます。 Settings Sync を使用して、独自の {% data variables.product.prodname_vscode_shortname %} 設定をエディターと共有することもできます。 詳しい情報については、{% data variables.product.prodname_vscode_shortname %} ドキュメントの「[Settings Sync](https://code.visualstudio.com/docs/editor/settings-sync)」を参照してください。 -The {% data variables.codespaces.serverless %} runs entirely in your browser’s sandbox. The editor doesn’t clone the repository, but instead uses the [GitHub Repositories extension](https://code.visualstudio.com/docs/editor/github#_github-repositories-extension) to carry out most of the functionality that you will use. Your work is saved in the browser’s local storage until you commit it. You should commit your changes regularly to ensure that they're always accessible. +{% data variables.codespaces.serverless %}は、完全にブラウザーのサンドボックス内で実行されます。 エディターではリポジトリは複製されず、代わりに [GitHub Repositories 拡張機能](https://code.visualstudio.com/docs/editor/github#_github-repositories-extension)を使用して、ユーザーが使用するほとんどの機能が実行されます。 作業内容は、コミットするまでブラウザーのローカル ストレージに保存されます。 変更内容に常にアクセスできるようにするために、変更を定期的にコミットするようにしてください。 -You must be signed in to use the web-based editor. +Web ベースのエディターを使用するには、サインインする必要があります。 -## Opening the {% data variables.codespaces.serverless %} +## {% data variables.codespaces.serverless %}を開く -You can open any {% data variables.product.prodname_dotcom %} repository in the {% data variables.codespaces.serverless %} in either of the following ways: +{% data variables.codespaces.serverless %}で {% data variables.product.prodname_dotcom %} リポジトリを開くには、次のいずれかの方法を使用できます。 -- To open the repository in the same browser tab, press . while browsing any repository or pull request on {% data variables.product.prodname_dotcom %}. +- 同じブラウザー タブでリポジトリを開くには、. キーを押します ({% data variables.product.prodname_dotcom %} のリポジトリまたは pull request を参照しているとき)。 - To open the repository in a new browser tab, press >. + 新しいブラウザー タブでリポジトリを開くには、> キーを押します。 -- Change the URL from "github.com" to "github.dev". -- When viewing a file, use the dropdown menu next to {% octicon "pencil" aria-label="The edit icon" %} and select **Open in github.dev**. +- URL を "github.com" から "github.dev" に変更します。 +- ファイルを表示する場合は、{% octicon "pencil" aria-label="The edit icon" %} の横にあるドロップダウン メニューを使用し、 **[github.dev で開く]** を選びます。 -  +  -## {% data variables.product.prodname_codespaces %} and the {% data variables.codespaces.serverless %} +## {% data variables.product.prodname_codespaces %} と {% data variables.codespaces.serverless %} -Both the {% data variables.codespaces.serverless %} and {% data variables.product.prodname_github_codespaces %} allow you to edit your code straight from your repository. However, both have slightly different benefits, depending on your use case. +{% data variables.codespaces.serverless %}と {% data variables.product.prodname_github_codespaces %} のどちらでも、リポジトリから直接コードを編集できます。 ただし、ユース ケースによって、それぞれの利点が若干異なります。 || {% data variables.codespaces.serverless %} | {% data variables.product.prodname_github_codespaces %}| |-|----------------|---------| -| **Cost** | Free. | Free monthly quota of usage for personal accounts. For information on pricing, see "[About billing for {% data variables.product.prodname_github_codespaces %}](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#github-codespaces-pricing)."| -| **Availability** | Available to everyone on GitHub.com. | Available to everyone on GitHub.com. | -| **Start up** | The {% data variables.codespaces.serverless %} opens instantly with a key-press and you can start using it right away, without having to wait for additional configuration or installation. | When you create or resume a codespace, the codespace is assigned a VM and the container is configured based on the contents of a `devcontainer.json` file. This set up may take a few minutes to create the environment. For more information, see "[Creating a codespace for a repository](/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository)." | -| **Compute** | There is no associated compute, so you won’t be able to build and run your code or use the integrated terminal. | With {% data variables.product.prodname_github_codespaces %}, you get the power of a dedicated VM on which you can run and debug your application.| -| **Terminal access** | None. | {% data variables.product.prodname_github_codespaces %} provides a common set of tools by default, meaning that you can use the Terminal exactly as you would in your local environment.| -| **Extensions** | Only a subset of extensions that can run in the web will appear in the Extensions View and can be installed. For more information, see "[Using extensions](#using-extensions)."| With {% data variables.product.prodname_github_codespaces %}, you can use most extensions from the {% data variables.product.prodname_vscode_marketplace %}.| +| **コスト** | フリー。 | 個人用アカウントでの 1 か月あたりの使用量の Free クォータ。 詳しくは、「[{% data variables.product.prodname_github_codespaces %} の課金について](/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#github-codespaces-pricing)」を参照してください。| +| **可用性** | GitHub.com のすべてのユーザーが利用できます。 | GitHub.com のすべてのユーザーが利用できます。 | +| **起動** | {% data variables.codespaces.serverless %}は、キーを押すとすぐに開き、追加の構成やインストールを待たずに、すぐに使い始めることができます。 | codespace を作成または再開すると、codespace に VM が割り当てられ、`devcontainer.json` ファイルの内容に基づいてコンテナーが構成されます。 この設定では、環境の作成に数分かかる場合があります。 詳しくは、「[リポジトリの codespace を作成する](/codespaces/developing-in-codespaces/creating-a-codespace-for-a-repository)」を参照してください。 | +| **Compute** | 関連付けられたコンピューティングがないので、コードをビルドして実行したり、統合ターミナルを使用したりすることはできません。 | {% data variables.product.prodname_github_codespaces %} を使うと、専用の VM を通じてアプリケーションを実行およびデバッグできます。| +| **ターミナル アクセス** | [なし] : | {% data variables.product.prodname_github_codespaces %} には、既定で共通のツール セットが用意されています。つまり、ローカル環境の場合とまったく同じようにターミナルを使用できます。| +| **拡張機能** | Web で実行できる拡張機能のサブセットのみが拡張機能ビューに表示され、それらをインストールできます。 詳細については、「[拡張機能の使用](#using-extensions)」を参照してください。| {% data variables.product.prodname_github_codespaces %} では、{% data variables.product.prodname_vscode_marketplace %} のほとんどの拡張機能を使用できます。| -### Continue working on {% data variables.product.prodname_codespaces %} +### 引き続き {% data variables.product.prodname_codespaces %} で作業する -You can start your workflow in the {% data variables.codespaces.serverless %} and continue working on a codespace. If you try to access the Run and Debug View or the Terminal, you'll be notified that they are not available in the {% data variables.codespaces.serverless %}. +{% data variables.codespaces.serverless %}でワークフローを始めて、codespace で作業を続けることができます。 実行およびデバッグ ビューまたはターミナルにアクセスしようとすると、{% data variables.codespaces.serverless %}では使えないことが通知されます。 -To continue your work in a codespace, click **Continue Working on…** and select **Create New Codespace** to create a codespace on your current branch. Before you choose this option, you must commit any changes. +codespace で作業を続行するには、 **[Continue Working on…]\(作業の続行...\)** をクリックし、 **[Create New Codespace]\(新しい codespace の作成\)** を選択して、現在のブランチに codespace を作成します。 このオプションを選択する前に、変更をコミットする必要があります。 - +![UI の [Continue Working on]\(作業の続行\) ボタンを示すスクリーンショット](/assets/images/help/codespaces/codespaces-continue-working.png) -## Using source control +## ソース管理の使用 -When you use the {% data variables.codespaces.serverless %}, all actions are managed through the Source Control View, which is located in the Activity Bar on the left hand side. For more information on the Source Control View, see "[Version Control](https://code.visualstudio.com/docs/editor/versioncontrol)" in the {% data variables.product.prodname_vscode_shortname %} documentation. +{% data variables.codespaces.serverless %}を使うときは、左側のアクティビティ バーにあるソース管理ビューですべてのアクションが管理されます。 ソース管理ビューの詳細については、{% data variables.product.prodname_vscode_shortname %} ドキュメントの「[バージョン管理](https://code.visualstudio.com/docs/editor/versioncontrol)」を参照してください。 -Because the web-based editor uses the GitHub Repositories extension to power its functionality, you can switch branches without needing to stash changes. For more information, see "[GitHub Repositories](https://code.visualstudio.com/docs/editor/github#_github-repositories-extension)" in the {% data variables.product.prodname_vscode_shortname %} documentation. +Web ベース エディターでは GitHub Repositories 拡張機能を使用して機能が強化されるため、変更を一時退避することなくブランチを切り替えることができます。 詳しい情報については、{% data variables.product.prodname_vscode_shortname %} ドキュメントの「[GitHub Repositories](https://code.visualstudio.com/docs/editor/github#_github-repositories-extension)」を参照してください。 -### Create a new branch +### 新しいブランチを作成する -{% data reusables.codespaces.create-or-switch-branch %} - Any uncommitted changes you have made in your old branch will be available on your new branch. +{% data reusables.codespaces.create-or-switch-branch %} 古いブランチで行った変更のうち、コミットされていないものは新しいブランチで使用できます。 -### Commit your changes +### 変更をコミットする {% data reusables.codespaces.source-control-commit-changes %} -5. Once you have committed your changes, they will automatically be pushed to your branch on {% data variables.product.prodname_dotcom %}. -### Create a pull request +5. 変更をコミットすると、{% data variables.product.prodname_dotcom %} のブランチに自動的にプッシュされます。 +### pull request を作成する {% data reusables.codespaces.source-control-pull-request %} -### Working with an existing pull request +### 既存の pull request の操作 -You can use the {% data variables.codespaces.serverless %} to work with an existing pull request. +{% data variables.codespaces.serverless %}を使って、既存の pull request を操作できます。 -1. Browse to the pull request you'd like to open in the {% data variables.codespaces.serverless %}. -2. Press `.` to open the pull request in the {% data variables.codespaces.serverless %}. -3. Once you have made any changes, commit them using the steps in [Commit your changes](#commit-your-changes). Your changes will be committed directly to the branch, it's not necessary to push the changes. +1. {% data variables.codespaces.serverless %}で開きたい pull request を参照します。 +2. `.` キーを押して、{% data variables.codespaces.serverless %}で pull request を開きます。 +3. 変更を行ったら、「[変更をコミットする](#commit-your-changes)」の手順を使用して変更をコミットします。 変更はブランチに直接コミットされます。変更をプッシュする必要はありません。 -## Using extensions +## 拡張機能の使用 -The {% data variables.codespaces.serverless %} supports {% data variables.product.prodname_vscode_shortname %} extensions that have been specifically created or updated to run in the web. These extensions are known as "web extensions". To learn how you can create a web extension or update your existing extension to work for the web, see "[Web extensions](https://code.visualstudio.com/api/extension-guides/web-extensions)" in the {% data variables.product.prodname_vscode_shortname %} documentation. +{% data variables.codespaces.serverless %}では、Web で実行するように特に作成または更新された {% data variables.product.prodname_vscode_shortname %} 拡張機能がサポートされています。 これらの拡張機能は、"Web 拡張機能" と呼ばれます。 Web 拡張機能を作成する方法、または Web で動作するように既存の拡張機能を更新する方法については、{% data variables.product.prodname_vscode_shortname %} ドキュメントの「[Web 拡張機能](https://code.visualstudio.com/api/extension-guides/web-extensions)」を参照してください。 -Extensions that can run in the {% data variables.codespaces.serverless %} will appear in the Extensions View and can be installed. If you use Settings Sync, any compatible extensions are also installed automatically. For information, see "[Settings Sync](https://code.visualstudio.com/docs/editor/settings-sync)" in the {% data variables.product.prodname_vscode_shortname %} documentation. +{% data variables.codespaces.serverless %}で実行できる拡張機能は、拡張機能ビューに表示され、インストールできます。 Settings Sync を使用すると、互換性のある拡張機能も自動的にインストールされます。 詳細については、{% data variables.product.prodname_vscode_shortname %} ドキュメントの「[Settings Sync](https://code.visualstudio.com/docs/editor/settings-sync)」を参照してください。 -## Troubleshooting +## トラブルシューティング -If you have issues opening the {% data variables.codespaces.serverless %}, try the following: +{% data variables.codespaces.serverless %}を開くときに問題が発生する場合は、次の手順を試してください。 -- Make sure you are signed in to {% data variables.product.prodname_dotcom %}. -- Disable any ad blockers. -- Use a non-incognito window in your browser to open the {% data variables.codespaces.serverless %}. +- {% data variables.product.prodname_dotcom %} にサインインしていることを確認します。 +- 広告ブロッカーを無効にします。 +- ブラウザーで incognito 以外のウィンドウを使って、{% data variables.codespaces.serverless %}を開きます。 -### Known limitations +### 既知の制限事項 -- The {% data variables.codespaces.serverless %} is currently supported in Chrome (and various other Chromium-based browsers), Edge, Firefox, and Safari. We recommend that you use the latest versions of these browsers. -- Some keybindings may not work, depending on the browser you are using. These keybinding limitations are documented in the "[Known limitations and adaptations](https://code.visualstudio.com/docs/remote/codespaces#_known-limitations-and-adaptations)" section of the {% data variables.product.prodname_vscode_shortname %} documentation. -- `.` may not work to open the {% data variables.codespaces.serverless %} according to your local keyboard layout. In that case, you can open any {% data variables.product.prodname_dotcom %} repository in the {% data variables.codespaces.serverless %} by changing the URL from `github.com` to `github.dev`. +- 現在、{% data variables.codespaces.serverless %}は、Chrome (およびその他の各種 Chromium ベース ブラウザー)、Edge、Firefox、Safari でサポートされています。 最新バージョンの SDK を使用することをお勧めします。 +- 使用しているブラウザーによっては、一部のキー バインドが機能しない場合があります。 これらのキー バインドの制限事項は、{% data variables.product.prodname_vscode_shortname %} ドキュメントの[既知の制限事項と対応](https://code.visualstudio.com/docs/remote/codespaces#_known-limitations-and-adaptations)に関するセクションに記載されています。 +- 使っているローカル キーボード レイアウトによっては、`.` キーで {% data variables.codespaces.serverless %}を開けない場合があります。 その場合は、URL を `github.com` から `github.dev` に変えることで、{% data variables.product.prodname_dotcom %} リポジトリを {% data variables.codespaces.serverless %}で開くことができます。 diff --git a/translations/ja-JP/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md b/translations/ja-JP/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md index 93a197c3eb..bd99b017be 100644 --- a/translations/ja-JP/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md +++ b/translations/ja-JP/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md @@ -1,27 +1,32 @@ --- -title: Syntax for GitHub's form schema -intro: 'You can use {% data variables.product.company_short %}''s form schema to configure forms for supported features.' +title: GitHub のフォームスキーマの構文 +intro: '{% data variables.product.company_short %} のフォームスキーマを使用して、サポートされている機能のフォームを設定できます。' versions: fpt: '*' ghec: '*' miniTocMaxHeadingLevel: 3 topics: - Community +ms.openlocfilehash: 3a8a21f04582b87741ef80755e92fbc859921bb5 +ms.sourcegitcommit: 06d16bf9a5c7f3e7107f4dcd4d06edae5971638b +ms.translationtype: HT +ms.contentlocale: ja-JP +ms.lasthandoff: 11/21/2022 +ms.locfileid: '148179670' --- - {% note %} -**Note:** {% data variables.product.company_short %}'s form schema is currently in beta and subject to change. +**注:** {% data variables.product.company_short %} のフォーム スキーマは現在ベータであり、変更される可能性があります。 {% endnote %} -## About {% data variables.product.company_short %}'s form schema +## {% data variables.product.company_short %} のフォームスキーマについて -You can use {% data variables.product.company_short %}'s form schema to configure forms for supported features. For more information, see "[Configuring issue templates for your repository](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms)." +{% data variables.product.company_short %} のフォームスキーマを使用して、サポートされている機能のフォームを設定できます。 詳細については、「[リポジトリ用に Issue テンプレートを設定する](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms)」を参照してください。 -A form is a set of elements for requesting user input. You can configure a form by creating a YAML form definition, which is an array of form elements. Each form element is a set of key-value pairs that determine the type of the element, the properties of the element, and the constraints you want to apply to the element. For some keys, the value is another set of key-value pairs. +フォームは、ユーザ入力を要求するための要素のセットです。 フォームを設定するには、フォーム要素の配列である YAML フォーム定義を作成します。 各フォーム要素は、要素のタイプ、要素のプロパティ、および要素に適用する制約を決定するキー/値ペアのセットです。 一部のキーでは、値はキー/値ペアの別のセットです。 -For example, the following form definition includes four form elements: a text area for providing the user's operating system, a dropdown menu for choosing the software version the user is running, a checkbox to acknowledge the Code of Conduct, and Markdown that thanks the user for completing the form. +たとえば、次のフォーム定義には、ユーザのオペレーティングシステムを提供するためのテキスト領域、ユーザが実行しているソフトウェアバージョンを選択するためのドロップダウンメニュー、行動規範を確認するためのチェックボックス、およびフォームへの入力を完了したユーザに感謝する Markdown の 4 つのフォーム要素が含まれます。 ```yaml{:copy} - type: textarea @@ -55,48 +60,48 @@ For example, the following form definition includes four form elements: a text a value: "Thanks for completing our form!" ``` -## Keys +## [キー] -For each form element, you can set the following keys. +フォーム要素ごとに、次のキーを設定できます。 -| Key | Description | Required | Type | Default | Valid values | +| Key | 説明 | 必須 | Type | Default | 有効な値 | | --- | ----------- | -------- | ---- | ------- | ------- | -| `type` | The type of element that you want to define. | Required | String | {% octicon "dash" aria-label="The dash icon" %} |