> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/autofix-to/automation-and-merging/automatic-creation-of-pull-requests.md).

# プルリクエストの自動作成

Aikido では、Pull Request を自動作成できます **毎日**、大量の依存関係の更新、SAST の問題の修正、コンテナのベースイメージの更新、ペンテストの問題の修正を処理します。"PR Configuration" で、プルリクエストのタイトル、説明、ラベル、その他の設定を細かく調整できます。

### 自動作成の設定 <a href="#setup-automatic-creation" id="setup-automatic-creation"></a>

**ステップ 1:** 移動先 [Autofix 設定](https://app.aikido.dev/issues/fix/settings) ページ

**ステップ 2:** 下にスクロールして「Automated PRs」を表示し、「Autocreation of PRs」のトグルを有効にします

<figure><img src="/files/84cf9ec2fe39243a39798370867a92b7637fd964" alt=""><figcaption></figcaption></figure>

**ステップ 3:** 設定モーダルが開きます。コードリポジトリ内の依存関係の自動作成、Docker コンテナの自動修正、または SAST/IaC とペンテストの問題の自動修正を有効にできます。PR を作成したいコードリポジトリとコンテナを必ず選択してください。

<figure><img src="/files/63f1c8b0cd38f121e73e0e259167cf6abdcf4e5f" alt=""><figcaption></figcaption></figure>

**ステップ 4:** 次をクリックして、新しい PR が正しく作成されるかテストします： **自動作成をテスト** ボタン。

<figure><img src="/files/1bb3d7f32f784575b91c50d2bccebcbcb3c014a8" alt=""><figcaption></figcaption></figure>

### コード依存関係の自動 PR 作成の上限 <a href="#pull-request-configuration" id="pull-request-configuration"></a>

AutoFix は最大で **1 リポジトリあたり 10 件の PR を作成します** の間に **毎日** 実行時。

### SAST/IaC の自動 PR 作成の上限 <a href="#pull-request-configuration" id="pull-request-configuration"></a>

リポジトリで初めて SAST スキャンを実行すると、通常は多数の問題が見つかります。作成されるプルリクエストの数を管理しやすくするため、SAST の問題に対する PR 作成には次の上限があります：

* PR は、AutoFix が **中** または **高い確信度を持つ**
* 次の期間中 **毎日** 実行されると、AutoFix は **最大** の **1 リポジトリあたり 2 件の PR を作成します** 最大で **変更されたファイル 5 件**.
* AutoFix は **公開中の SAST AutoFix PR の数を** を次に設定します: **1 リポジトリあたり 10 件に制限します**. この上限に達すると、AutoFix は新しい SAST AutoFix PR を自動作成しません。PR をクローズまたはマージすると、次回の毎日の実行で新しい PR を受け取れます。

より高い上限が必要な場合は、Aikido UI からご連絡ください。

### プルリクエスト設定 <a href="#pull-request-configuration" id="pull-request-configuration"></a>

AutoFix PR Configuration ページで、プルリクエストのプロパティ（タイトル、ラベル、ブランチ名、コミットメッセージなど）を設定できます。詳細なドキュメントは [こちら](/docs/docs-ja/autofix-to/configure/autofix-pr-configuration.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/autofix-to/automation-and-merging/automatic-creation-of-pull-requests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
