puppet-control-repo/commit-msg-conv.py
christiangoeschel b345768781
Some checks failed
Pull Request Checks / commit-message-check (pull_request) Successful in 4s
Pull Request Checks / linting (pull_request) Successful in 46s
Post PR Merge Action / integrate (push) Failing after 5s
feat(ci): Add commit message format and squash commit checks
2025-02-12 07:47:32 -05:00

10 lines
154 B
Python

import os
import git
# Global variables and constant
current_dir = os.getcwd()
repo = git.Repo(current_dir)
tree = repo.head.commit.message
print(tree)