git-config

Table of contents

  1. Description
  2. Usage

Description

このアクションは、Gitの設定ファイルで以下のボットアカウントを設定します:

  • user.name: github-actions[bot]
  • user.email: 41898282+github-actions[bot]@users.noreply.github.com

この設定は、コードのコミットやプッシュを含むワークフローに役立ちます。ただし、設定が既に行われている場合はスキップされます。

Usage

以下のようにワークフローに組み込んで使用します。

steps:
  - name: Configure Git
    uses: gawaooooo-sandbox/learn-github-actions-custom/composite/git-config@v0 # This is the version of the action