-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: pr-agentのレビューを抑制しました | ||
description: pr-agentのレビューを抑制しました | ||
published: 2024-07-06 | ||
tags: ["AI", "GitHubActions"] | ||
thumbnail: /blogthumbnails/13.jpg | ||
--- | ||
|
||
## なぜ | ||
[以前の投稿](https://nash1111rgba.com/blog/pragent)の通り、このブログのレポジトリにpr-agentを入れてすべてのPRをレビューしてもらうようにしました | ||
一方で、このブログの投稿はmdxファイル一つと対応しているため、ブログ記事投稿のためだけのPRはレビュー不要と判断しました | ||
|
||
## 方法 | ||
ブランチがblog-postで始まる場合はレビュー不要としてアクションを行わないようにしました | ||
``` | ||
jobs: | ||
pr_agent_job: | ||
if: ${{ github.event.sender.type != 'Bot' && !startsWith(github.head_ref, 'blog-post') }} | ||
``` |