/debuggithubactionrefs

Just a test repo.

Primary LanguageGoMIT LicenseMIT

Running from Main branch

Note that b03e60f04c2cce1266124b5bee5e02856040041b is the commit hash of the last commit on the main branch.

GITHUB_REF: refs/heads/main
GITHUB_HEAD_REF: 
GITHUB_BASE_REF: 
GITHUB_SHA: b03e60f04c2cce1266124b5bee5e02856040041b
github.ref: refs/heads/main
github.sha: b03e60f04c2cce1266124b5bee5e02856040041b
github.head_ref: 
github.base_ref: 
github.event.pull_request.head.ref: 
github.event.pull_request.base.ref: 
github.event.pull_request.head.sha: 
github.event.pull_request.base.sha: 

Running from Pull Request

Note that cc5dda274785b70f280e70d999791579bf1b94db is the commit hash of the last commit on the pull request branch mypull.

GITHUB_REF: refs/pull/1/merge
GITHUB_HEAD_REF: mypull
GITHUB_BASE_REF: main
GITHUB_SHA: 3907f85480790c9224f66a112b499f36abbb4fc8
github.ref: refs/pull/1/merge
github.sha: 3907f85480790c9224f66a112b499f36abbb4fc8
github.head_ref: mypull
github.base_ref: main
github.event.pull_request.head.ref: mypull
github.event.pull_request.base.ref: main
github.event.pull_request.head.sha: cc5dda274785b70f280e70d999791579bf1b94db
github.event.pull_request.base.sha: b03e60f04c2cce1266124b5bee5e02856040041b