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: 2024/10/23, 10:13:01