jfandy1982/github-workflow-context

GitHub action for outputting affected Git SHAs and branch names

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: jfandy1982/github-workflow-context@6ee3be6428d583d76a3cd351d926b9a9fc4644c0 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
baseBase of the current branch (usually main)
headLatest commit of the current branch (usually HEAD)
namedescription
base-branchName of the base branch
base-shaSHA of the base branch tip
head-branchName of the head branch
head-shaSHA of the head branch tip
default-branchName of the default branch of the repository