class

ContributorMural::Committer

Inherits Reference < Object

Commits and pushes generated files with git. Identity is passed per command (-c) so the user's git config is never mutated; the global safe.directory entry is only added inside the actions runner, where the workspace is owned by a different uid than the container user.

Constants

BOT_EMAIL = "41898282+github-actions[bot]@users.noreply.github.com"
BOT_NAME = "github-actions[bot]"

Constructors

new(workspace : String, message : String)
Source

Instance methods

commit(paths : Array(String)) : Bool

Returns true when a commit was pushed, false when nothing changed.

Source