yunabraska/Git Info Action

Git insights such as latest branch & commit & tag information, ticket number detection, breaking changes...

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
work-dirwork dirno.
ignore-filesregex list to ignore files (comma separated) e.g. "/\.txt$/, /\.doc$/"nonull
branch-fallbackfallback if no branch_default could be foundnomain
tag-fallbackfallback if no tag could be foundnonull
tag-match-patterntag match patternno""
fallback-commit-typefallback for commits without type (Conventional Commits)no""
fallback-commit-scopefallback for commits without scope (Conventional Commits)no""
commit-msg-with-footerinclude footer from commit messages (Conventional Commits)notrue
null-to-emptyconverts null to empty stringnotrue
max-changelog-lengthadds a limit to all change logs (useful when using e.g. twitter)no""
namedescription
branchcurrent branch
branch_defaultdefault branch
commits_aheadbranch commits that are not in the branch_default
commits_behindbranch_default commits that are not in the branch
is_default_branchtrue if branch == branch_default
has_changestrue if sha_latest != sha_latest_tag
has_local_changestrue if there are changes on non committed files
has_breaking_changestrue if a commit has a breaking change (Conventional Commits)
sha_latestsha from latest commit
sha_latest_tagsha from latest tag
tag_latestlatest tag
ticket_numberslist of ticket numbers (Jira GitHub)
commit_typeslist of commit types (Conventional Commits)
commit_scopeslist of commit scopes (Conventional Commits)
change_logFull changelog
change_log_type_choreChange Log for the type chore (Conventional Commits)
change_log_type_featChange Log for the type feat (Conventional Commits)
change_log_type_fixChange Log for the type fix (Conventional Commits)
change_log_type_ciChange Log for the type ci (Conventional Commits)
change_log_type_docsChange Log for the type docs (Conventional Commits)
change_log_type_styleChange Log for the type style (Conventional Commits)
change_log_type_refactorChange Log for the type refactor (Conventional Commits)
change_log_type_perfChange Log for the type perf (Conventional Commits)
change_log_type_testChange Log for the type test (Conventional Commits)
change_log_type_revertChange Log for the type revert (Conventional Commits)
change_typeChange Type [major, minor, patch, rc] (Conventional Commits)
file_changesList of file changes (sha_latest <> sha_latest_tag)
file_changes_localList of local file changes
x_language_lista list of supported language for x_has_changes_<lang>
context_refThe git ref of the triggering event
context_workflow_fileThe workflow file where the triggering event occurred
context_actor_idThe ID of the user or app that triggered the event
context_actor_nameThe name of the user or app that triggered the event
context_actor_typeThe type of the user or app that triggered the event
context_shaThe git SHA of the commit that triggered the event
context_event_nameThe name of the event that triggered the workflow
context_workflow_nameThe name of the workflow that was triggered
context_job_nameThe name of the job that was triggered
context_run_idThe ID of the workflow run that was triggered
context_run_numberThe number of the workflow run that was triggered
event_nameThe name of the event that triggered the workflow.
event_sourceThe source of the event that triggered the workflow.
var_with_defaultThe value of a variable with a default value.
var_should_be_setThe value of a variable that should be set by the user.
repo_idThe ID of the repository.
repo_sizeThe size of the repository.
repo_open_issuesThe number of open issues in the repository.
repo_star_countThe number of stars the repository has.
is_repo_forkWhether the repository is a fork.
is_repo_privateWhether the repository is private.
is_repo_archivedWhether the repository is archived.
is_repo_disabledWhether the repository is disabled.
is_repo_templateWhether the repository is a template.
repo_visibilityThe visibility of the repository.
repo_default_branchThe default branch of the repository.
repo_languageThe language of the repository.
repo_nameThe name of the repository.
repo_created_atThe creation date of the repository.
repo_updated_atThe last update date of the repository.
repo_html_urlThe URL of the repository's HTML page.
repo_hooks_urlThe URL of the repository's hooks.
repo_descriptionThe description of the repository.
repo_license_keyThe key of the repository's license.
repo_license_nameThe name of the repository's license.
repo_owner_idThe ID of the repository's owner.
repo_owner_nameThe name of the repository's owner.
repo_owner_typeThe type of the repository's owner.