RuleGo RuleGo
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文
🏠Home
  • Quick Start
  • Rule Chain
  • Standard Components
  • Extension Components
  • Custom Components
  • Visualization
  • RuleGo-Server
  • RuleGo-MCP-Server
  • AOP
  • Trigger
  • Advanced Topics
  • Performance
  • Standard Components
  • Extension Components
  • Custom Components
  • Components Marketplace
  • Overview
  • Quick Start
  • Routing
  • DSL
  • API
  • Options
  • Components
🔥Editor (opens new window)
  • RuleGo Editor (opens new window)
  • RuleGo Server (opens new window)
  • Github (opens new window)
  • Gitee (opens new window)
  • Changelog (opens new window)
  • English
  • 简体中文

广告采用随机轮播方式显示 ❤️成为赞助商
  • Quick Start

  • Rule Chain

  • Standard Components

  • Extension Components

    • Extension Components Overview
    • filter

    • transform

    • external

    • ai

    • ci

      • gitClone
      • gitCommit
        • Configuration
        • Relation Type
        • Execution Results
      • gitCreateTag
      • gitPush
      • git log
      • Server Metrics Monitoring
    • IoT

  • Custom Components

  • Components marketplace

  • Visualization

  • AOP

  • Trigger

  • Advanced Topic

  • RuleGo-Server

  • FAQ

  • Endpoint Module

  • Support

目录

gitCommit

ci/gitCommit Component: v0.25.0+ Git commit component, for committing modified files.

Additional library required: rulego-components-ci (opens new window)

# Configuration

Field Type Description Default Value
directory string Local directory Obtained from metadata's workDir
pattern string Pattern for file matching to be added, must be relative to the current working directory. For example: /example/*.go
message string Commit message
signature Signature Author information Empty

Signature:

Field Type Description Default Value
authorName string Author's name
authorEmail string Author's email

All fields above can use component configuration variables

# Relation Type

  • Success: On successful execution, the message is sent to the Success chain.
  • Failure: On failed execution, the message is sent to the Failure chain.

# Execution Results

  • This component does not change the value of msg.Data.
  • Obtain the commit hash of this submission through the msg.Metadata hash.
Edit this page on GitHub (opens new window)
Last Updated: 2025/04/02, 01:29:50
gitClone
gitCreateTag

← gitClone gitCreateTag→

Theme by Vdoing | Copyright © 2023-2025 RuleGo Team | Apache 2.0 License

  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式