0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【GitHub】github-actions[bot]になってpushする方法

Posted at

GitHubのpush usergithub-actions[bot]を設定することができたので備忘録を書きます。

スクリーンショット 2023-12-20 2.48.02.png

TL;DR

以下の専用ユーザーネームとメアドを使えばgithub-actions[bot]としてpushすることに成功する

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

ここら辺を見ればわかるが、専用のメアドを使えばgithub-actionsだけでなくdependabotとしてcommit履歴を残すこともできる。

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

スクリーンショット 2023-12-20 3.22.18.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?