This commit is contained in:
docubot 2022-10-24 10:42:01 -07:00 коммит произвёл GitHub
Родитель 06c64784b1
Коммит db74e3fe72
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 48 добавлений и 77 удалений

Просмотреть файл

@ -10,9 +10,6 @@ versions:
ghec: '*'
learningTracks:
- getting_started
- continuous_integration
- continuous_deployment
- deploy_to_the_cloud
- adopting_github_actions_for_your_enterprise_ghec
- adopting_github_actions_for_your_enterprise_ghes_and_ghae
- hosting_your_own_runners

Просмотреть файл

@ -26,14 +26,6 @@ featuredLinks:
- /actions/learn-github-actions/expressions
- /actions/learn-github-actions/environment-variables
- /actions/security-guides/encrypted-secrets
videos:
- title: 'Inside GitHub: How we use GitHub Actions – Brian Douglas'
href: 'https://www.youtube-nocookie.com/embed/MW0V5Q9WJu4'
- title: Advanced GitHub Actions – Jennifer Schelkopf
href: 'https://www.youtube-nocookie.com/embed/wWOH44Lscoc'
- title: GitHub Actions in action – Karan MV
href: 'https://www.youtube-nocookie.com/embed/4SWO0Pc76CU'
videosHeading: GitHub Universe 2021 videos
product_video: 'https://www.youtube-nocookie.com/embed/cP0I9w2coGU'
redirect_from:
- /articles/automating-your-workflow-with-github-actions

Просмотреть файл

@ -43,7 +43,8 @@ The events listed in your security log are triggered by your actions. Actions ar
| [`marketplace_agreement_signature`](#marketplace_agreement_signature-category-actions) | Contains all activities related to signing the {% data variables.product.prodname_marketplace %} Developer Agreement.
| [`marketplace_listing`](#marketplace_listing-category-actions) | Contains all activities related to listing apps in {% data variables.product.prodname_marketplace %}.{% endif %}
| [`oauth_access`](#oauth_access-category-actions) | Contains all activities related to [{% data variables.product.prodname_oauth_apps %}](/github/authenticating-to-github/keeping-your-account-and-data-secure/authorizing-oauth-apps) you've connected with.{% ifversion fpt or ghec %}
| [`payment_method`](#payment_method-category-actions) | Contains all activities related to paying for your {% data variables.product.prodname_dotcom %} subscription.{% endif %}
| [`payment_method`](#payment_method-category-actions) | Contains all activities related to paying for your {% data variables.product.prodname_dotcom %} subscription.{% endif %}{% ifversion pat-v2%}
| [`personal_access_token`](#personal_access_token-category-actions) | Contains activities related to {% data variables.product.pat_v2 %}s. For more information, see "[Creating a {% data variables.product.pat_generic %}](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."{% endif %}
| [`profile_picture`](#profile_picture-category-actions) | Contains all activities related to your profile picture.
| [`project`](#project-category-actions) | Contains all activities related to project boards.
| [`public_key`](#public_key-category-actions) | Contains all activities related to [your public SSH keys](/articles/adding-a-new-ssh-key-to-your-github-account).
@ -121,6 +122,23 @@ An overview of some of the most common actions that are recorded as events in th
{% endif %}
{% ifversion pat-v2 %}
### `personal_access_token` category actions
| Action | Description
|------------------|-------------------
| `access_granted` | Triggered when a {% data variables.product.pat_v2 %} that you created is granted access to resources.
| `access_revoked` | Triggered when a {% data variables.product.pat_v2 %} that you created is revoked. The token can still read public organization resources.
| `create` | Triggered when you create a {% data variables.product.pat_v2 %}.
| `credential_regenerated` | Triggered when you regenerate a {% data variables.product.pat_v2 %}.
| `destroy` | Triggered when you delete a {% data variables.product.pat_v2 %}.
| `request_cancelled` | Triggered when you cancel a pending request for your {% data variables.product.pat_v2 %} to access organization resources.
| `request_created` | Triggered when you create a {% data variables.product.pat_v2 %} to access organization resources and the organization requires approval before a {% data variables.product.pat_v2 %} can access organization resources.
| `request_denied` | Triggered when your request for a {% data variables.product.pat_v2 %} to access organization resources is denied. For more information, see "[Managing requests for {% data variables.product.pat_generic %} in your organization](/organizations/managing-programmatic-access-to-your-organization/managing-requests-for-personal-access-tokens-in-your-organization)."
{% endif %}
### `profile_picture` category actions
| Action | Description

Просмотреть файл

@ -44,7 +44,7 @@ If you enable prebuilding of codespaces this will incur additional charges. For
## About billing for {% data variables.product.prodname_github_codespaces %}
{% data variables.product.prodname_github_codespaces %} is billed in US dollars (USD) according to their compute and storage usage. {% data reusables.codespaces.codespaces-monthly-billing %} xxx
{% 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 %}
Your {% data variables.product.prodname_github_codespaces %} usage shares your organization or enterprise account's existing payment method, and receipt. For more information, see "[Viewing your subscriptions and billing date](/articles/viewing-your-subscriptions-and-billing-date)."
@ -60,7 +60,7 @@ As an example, if a codespace is active for 1 hour and 15 minutes, then the comp
You can restrict 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)."
### Billing for storage usage
For {% data variables.product.prodname_github_codespaces %} billing purposes, this includes all storage used by all codespaces and prebuilds in your account. This includes any files used by the codespaces, such as cloned repositories, configuration files, and extensions, among others. Storage is billed for all of your existing codespaces, regardless of whether they are active or stopped. The storage billing for a codespace ends when it is deleted.
For {% data variables.product.prodname_github_codespaces %} billing purposes, storage compromises the disk space used by all of the codespaces and prebuilds in your account. This includes any files used by the codespaces, such as cloned repositories, configuration files, and extensions, among others. Storage is billed for all of your existing codespaces, regardless of whether they are active or stopped. The storage billing for a codespace ends when it is deleted.
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.
@ -93,7 +93,7 @@ In addition to {% data variables.product.prodname_actions %} minutes, you will a
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.
The total storage costs associated with a prebuild template will depend on:
The total storage costs associated with a prebuild will depend on:
* The price of storage per GB. See the table above.
* The size of the generated prebuild in GB.
@ -134,9 +134,9 @@ Organization owners can create a policy to restrict the machine types that are a
To incur charges to an organization account (or to an enterprise account, if the organization belongs to an enterprise), the user must be a member or collaborator of that organization, otherwise they cannot create a codespace for which the organization, or its parent enterprise, would be billed.
For example, a user in an organization can fork a repository within that organization, and can subsequently use a codespace billed to the organization; this is because the organization is the owner of the parent repository, which can remove the user's access, the forked repository, and the codespace.
For example, a user in an organization can fork a repository within that organization, and can subsequently use a codespace billed to the organization. This is because the organization is the owner of the parent repository, and can remove the user's access, the forked repository, and the codespace.
## How billing is handled when a repository is transferred
## How billing is handled when a repository is transferred to another 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 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.

Просмотреть файл

@ -12,25 +12,17 @@ featuredLinks:
- /codespaces/setting-up-your-codespace/configuring-codespaces-for-your-project
- /codespaces/managing-your-codespaces/managing-repository-access-for-your-codespaces
- /billing/managing-billing-for-github-codespaces/about-billing-for-codespaces
popular:
- /codespaces/getting-started-with-codespaces/getting-started-with-your-nodejs-project-in-codespaces
- /codespaces/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces
- /codespaces/getting-started-with-codespaces/getting-started-with-your-java-project-in-codespaces
- /codespaces/getting-started-with-codespaces/getting-started-with-your-dotnet-project
videos:
- title: 'Inside GitHub: Moving GitHub''s Development to Codespaces – Cory Wilkerson'
href: 'https://www.youtube-nocookie.com/embed/Lj_RpjEuESE'
- title: 'Making Codespaces Work for You – Allison Weins, Bailey Brooks'
href: 'https://www.youtube-nocookie.com/embed/X9Z-rUixnzk'
- title: Coding in the cloud with GitHub Codespaces and VS Code – Damian Brady
href: 'https://www.youtube-nocookie.com/embed/xWr_yH_AGVs'
videosHeading: GitHub Universe 2021 videos
guideCards:
- /codespaces/getting-started/deep-dive
- /codespaces/developing-in-codespaces/creating-a-codespace
- /codespaces/developing-in-codespaces/opening-an-existing-codespace
- /codespaces/developing-in-codespaces/using-codespaces-in-visual-studio-code
- /codespaces/setting-up-your-codespace/personalizing-codespaces-for-your-account
popular:
- /codespaces/getting-started-with-codespaces/getting-started-with-your-nodejs-project-in-codespaces
- /codespaces/getting-started-with-codespaces/getting-started-with-your-python-project-in-codespaces
- /codespaces/getting-started-with-codespaces/getting-started-with-your-java-project-in-codespaces
- /codespaces/getting-started-with-codespaces/getting-started-with-your-dotnet-project
popularHeading: Set up your project
product_video: 'https://www.youtube-nocookie.com/embed/_W9B7qc9lVc'
communityRedirect:

Просмотреть файл

@ -963,8 +963,6 @@ Key | Type | Description
{{ webhookPayloadsForCurrentVersion.project.created }}
{% ifversion fpt or ghes or ghec %}
## project_card
{% data reusables.webhooks.project_card_short_desc %}
@ -1080,7 +1078,7 @@ Key | Type | Description
### Webhook payload example
{{ webhookPayloadsForCurrentVersion.public }}
{% endif %}
## pull_request
{% data reusables.webhooks.pull_request_short_desc %}

Просмотреть файл

@ -37,11 +37,11 @@ To search for specific events, use the `action` qualifier in your query. Actions
| Category name | Description
|------------------|-------------------{% ifversion fpt or ghec %}
| [`account`](#account-category-actions) | Contains all activities related to your organization account.
| [`advisory_credit`](#advisory_credit-category-actions) | Contains all activities related to crediting a contributor for a security advisory in the {% data variables.product.prodname_advisory_database %}. For more information, see "[About {% data variables.product.prodname_dotcom %} Security Advisories](/github/managing-security-vulnerabilities/about-github-security-advisories)."
| [`auto_approve_personal_access_token_requests`](#auto_approve_personal_access_token_requests-category-actions) | Contains activities related to your organization's approval policy for {% data variables.product.pat_v2 %}s. For more information, see "[Setting a {% data variables.product.pat_generic %} policy for your organization](/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization)."
| [`billing`](#billing-category-actions) | Contains all activities related to your organization's billing.
| [`business`](#business-category-actions) | Contains activities related to business settings for an enterprise. |
| [`account`](#account-category-actions) | Contains all activities related to your organization account.{% endif %}{% ifversion fpt or ghec %}
| [`advisory_credit`](#advisory_credit-category-actions) | Contains all activities related to crediting a contributor for a security advisory in the {% data variables.product.prodname_advisory_database %}. For more information, see "[About {% data variables.product.prodname_dotcom %} Security Advisories](/github/managing-security-vulnerabilities/about-github-security-advisories)."{% endif %}{% ifversion pat-v2%}
| [`auto_approve_personal_access_token_requests`](#auto_approve_personal_access_token_requests-category-actions) | Contains activities related to your organization's approval policy for {% data variables.product.pat_v2 %}s. For more information, see "[Setting a {% data variables.product.pat_generic %} policy for your organization](/organizations/managing-programmatic-access-to-your-organization/setting-a-personal-access-token-policy-for-your-organization)."{% endif %}{% ifversion fpt or ghec %}
| [`billing`](#billing-category-actions) | Contains all activities related to your organization's billing.{% endif %}{% ifversion fpt or ghec %}
| [`business`](#business-category-actions) | Contains activities related to business settings for an enterprise. |{% endif %}{% ifversion fpt or ghec %}
| [`codespaces`](#codespaces-category-actions) | Contains all activities related to your organization's codespaces. |{% endif %}{% ifversion fpt or ghec or ghes > 3.2 or ghae %}
| [`dependabot_alerts`](#dependabot_alerts-category-actions) | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in existing repositories. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies)."
| [`dependabot_alerts_new_repos`](#dependabot_alerts_new_repos-category-actions) | Contains organization-level configuration activities for {% data variables.product.prodname_dependabot_alerts %} in new repositories created in the organization.{% endif %}{% ifversion fpt or ghec or ghes > 3.2 %}
@ -67,8 +67,8 @@ To search for specific events, use the `action` qualifier in your query. Actions
| [`organization_default_label`](#organization_default_label-category-actions) | Contains all activities related to default labels for repositories in your organization.
| [`oauth_application`](#oauth_application-category-actions) | Contains all activities related to OAuth Apps.
| [`packages`](#packages-category-actions) | Contains all activities related to {% data variables.product.prodname_registry %}.{% ifversion fpt or ghec %}
| [`payment_method`](#payment_method-category-actions) | Contains all activities related to how your organization pays for GitHub.{% endif %}
| [`personal_access_token`](#personal_access_token-category-actions) | Contains activities related to {% data variables.product.pat_v2 %}s in your organization. For more information, see "[Creating a {% data variables.product.pat_generic %}](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
| [`payment_method`](#payment_method-category-actions) | Contains all activities related to how your organization pays for GitHub.{% endif %}{% ifversion pat-v2%}
| [`personal_access_token`](#personal_access_token-category-actions) | Contains activities related to {% data variables.product.pat_v2 %}s in your organization. For more information, see "[Creating a {% data variables.product.pat_generic %}](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."{% endif %}
| [`profile_picture`](#profile_picture-category-actions) | Contains all activities related to your organization's profile picture.
| [`project`](#project-category-actions) | Contains all activities related to project boards.
| [`protected_branch`](#protected_branch-category-actions) | Contains all activities related to protected branches.

Просмотреть файл

@ -1,6 +1,6 @@
getting_started:
title: '{% data variables.product.prodname_actions %} を使ってみる'
description: '最初のワークフローを作成して、{% data variables.product.prodname_actions %} の可能性を発見してください。'
title: 'Get started with {% data variables.product.prodname_actions %}'
description: 'Discover the possibilities of {% data variables.product.prodname_actions %} by creating your first workflow.'
guides:
- /actions/learn-github-actions/introduction-to-github-actions
- /actions/learn-github-actions/finding-and-customizing-actions
@ -9,36 +9,9 @@ getting_started:
- /actions/learn-github-actions/reusing-workflows
- /actions/security-guides/security-hardening-for-github-actions
featured_track: true
continuous_integration:
title: 'コードのビルドとテスト'
description: 'カスタムの継続的インテグレーション (CI) ワークフローをリポジトリ内に作成できます。'
guides:
- /actions/automating-builds-and-tests/about-continuous-integration
- /actions/automating-builds-and-tests/building-and-testing-powershell
- /actions/automating-builds-and-tests/building-and-testing-ruby
- /actions/automating-builds-and-tests/building-and-testing-java-with-maven
- /actions/automating-builds-and-tests/building-and-testing-java-with-gradle
- /actions/automating-builds-and-tests/building-and-testing-java-with-ant
- /actions/automating-builds-and-tests/building-and-testing-swift
continuous_deployment:
title: 'デプロイを自動化する'
description: '{% data variables.product.prodname_actions %} でカスタムの継続的デプロイ (CD) ワークフローを使ってプロジェクトのリリース公開を自動化する方法について説明します。'
guides:
- /actions/publishing-packages/about-packaging-with-github-actions
- /actions/publishing-packages/publishing-nodejs-packages
- /actions/publishing-packages/publishing-java-packages-with-maven
- /actions/publishing-packages/publishing-java-packages-with-gradle
- /actions/publishing-packages/publishing-docker-images
deploy_to_the_cloud:
title: 'クラウドにデプロイする'
description: '{% data variables.product.prodname_actions %} を使ってアプリケーションをビルドして、さまざまなクラウドベースのプラットフォームにデプロイする方法について説明します。'
guides:
- /actions/deployment/deploying-to-amazon-elastic-container-service
- /actions/deployment/deploying-to-azure-app-service
- /actions/deployment/deploying-to-google-kubernetes-engine
adopting_github_actions_for_your_enterprise_ghec:
title: 'Enterprise に GitHub を採用する'
description: 'Enterprise で {% data variables.product.prodname_actions %} のロールアウトを計画して実装する方法について説明します。'
title: 'Adopt GitHub Actions for your enterprise'
description: 'Learn how to plan and implement a rollout of {% data variables.product.prodname_actions %} in your enterprise.'
versions:
ghec: '*'
guides:
@ -50,8 +23,8 @@ adopting_github_actions_for_your_enterprise_ghec:
- /actions/security-guides/security-hardening-for-github-actions
- /billing/managing-billing-for-github-actions/about-billing-for-github-actions
adopting_github_actions_for_your_enterprise_ghes_and_ghae:
title: 'Enterprise に GitHub を採用する'
description: 'Enterprise で {% data variables.product.prodname_actions %} のロールアウトを計画して実装する方法について説明します。'
title: 'Adopt GitHub Actions for your enterprise'
description: 'Learn how to plan and implement a rollout of {% data variables.product.prodname_actions %} in your enterprise.'
versions:
ghes: '*'
ghae: '*'
@ -66,8 +39,8 @@ adopting_github_actions_for_your_enterprise_ghes_and_ghae:
- /actions/security-guides/security-hardening-for-github-actions
- /billing/managing-billing-for-github-actions/about-billing-for-github-actions
hosting_your_own_runners:
title: '自分のランナーをホストする'
description: 'セルフ ホステッド ランナーを作成して、非常にカスタマイズ性の高い環境でワークフローを実行できます。'
title: 'Host your own runners'
description: 'You can create self-hosted runners to run workflows in a highly customizable environment.'
guides:
- /actions/hosting-your-own-runners/about-self-hosted-runners
- /actions/hosting-your-own-runners/adding-self-hosted-runners
@ -78,8 +51,8 @@ hosting_your_own_runners:
- /actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups
- /actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners
create_actions:
title: 'アクションを作成する'
description: '新しいアクションのアイデアはありますか?自分のプロジェクトに何かをカスタムに作成したことはありますか?共有できるアクションをビルドして、GitHub Marketplace に公開する方法について説明します。'
title: 'Create an action'
description: 'Do you have an idea for a new action? Have you built something custom for your project? Learn how to build shareable actions and publish them to GitHub Marketplace.'
guides:
- /actions/creating-actions/about-custom-actions
- /actions/creating-actions/creating-a-docker-container-action

Просмотреть файл

@ -911,6 +911,7 @@ translations/ja-JP/content/sponsors/receiving-sponsorships-through-github-sponso
translations/ja-JP/content/support/contacting-github-support/providing-data-to-github-support.md,broken liquid tags
translations/ja-JP/content/support/learning-about-github-support/about-github-premium-support.md,rendering error
translations/ja-JP/content/support/learning-about-github-support/about-github-support.md,rendering error
translations/ja-JP/data/learning-tracks/actions.yml,broken liquid tags
translations/ja-JP/data/learning-tracks/admin.yml,broken liquid tags
translations/ja-JP/data/release-notes/enterprise-server/2-20/15.yml,rendering error
translations/ja-JP/data/release-notes/enterprise-server/2-21/17.yml,rendering error

1 file reason
911 translations/ja-JP/content/support/contacting-github-support/providing-data-to-github-support.md broken liquid tags
912 translations/ja-JP/content/support/learning-about-github-support/about-github-premium-support.md rendering error
913 translations/ja-JP/content/support/learning-about-github-support/about-github-support.md rendering error
914 translations/ja-JP/data/learning-tracks/actions.yml broken liquid tags
915 translations/ja-JP/data/learning-tracks/admin.yml broken liquid tags
916 translations/ja-JP/data/release-notes/enterprise-server/2-20/15.yml rendering error
917 translations/ja-JP/data/release-notes/enterprise-server/2-21/17.yml rendering error