You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ステータス バッジは、一般にプロジェクトの README に埋め込まれていますが、どの Web ドキュメントにも配置できます。 CircleCI では、ステータス バッジの埋め込みコードを生成するツールが提供されています。 By default, a badge displays the status of a project's default branch, though you can also display the status of specific branches.
16
+
ステータスバッジは、一般的にプロジェクトの README に埋め込まれていますが、どの Web ドキュメントにも配置することができます。 CircleCI では、ステータスバッジの埋め込みコードを生成するツールを提供しています。 デフォルトで、バッジにはプロジェクトのデフォルトブランチのステータスが表示されますが、特定のブランチを選択することも可能です。
17
17
18
-
A badge status allows teams to quickly see build statuses in their repo. Badges change appearance depending on their status (success, failure).
The following examples demonstrate how to generate a status badge for various template languages. Each example also provides a status badge code for a specific branch.
=for HTML <a href="https://circleci.com/<VCS>/<ORG_NAME>/<PROJECT_NAME>"><img src="https://circleci.com/<VCS>/<ORG_NAME>/<PROJECT_NAME>.svg?style=svg"></a>
109
109
110
-
# Example:
110
+
# 例:
111
111
=for HTML <a href="https://circleci.com/gh/circleci/circleci-docs"><img src="https://circleci.com/gh/circleci/circleci-docs.svg?style=svg"></a>
112
112
113
-
# Example for specific branch:
113
+
# 特定のブランチの例:
114
114
=for HTML <a href="https://circleci.com/gh/circleci/circleci-docs/?branch=teesloane-patch-5"><img src="https://circleci.com/gh/circleci/circleci-docs/tree/teesloane-patch-5.svg?style=svg"></a>
115
115
116
116
```
117
117
118
-
## Creating badges for private repositories
118
+
## プライベートリポジトリ用のバッジの作成
119
119
{: #creating-badges-for-private-repositories }
120
120
121
-
**NOTE:** To create a status badge for a private project you will need to create an **api token**_specifically scoped to "status"_ and include that token in the url string of your badge. Consider the following markdown image badge snippet against the original markdown example above; it has a URL parameter for a token added.
To create a status API token, go to the [CircleCI web app](https://app.circleci.com/), navigate to a specific project, go to **Project Settings -> API Permissions**, and create a token scoped to `status`.
127
+
ステータス API トークンを作成するには、[CircleCI Web アプリ](https://app.circleci.com/)を開き、目的のプロジェクトに行き、**Project Settings > API Permissions** に移動し、`status`のスコープを持つトークンを作成します。
0 commit comments