Files
github-slug-action/docs/short-variables.md
Romain Lespinasse aba9f8db6e feat: use GITHUB_REF_POINT as variable for the branch name (#149)
BREAKING CHANGE: Change the behavior of GITHUB_REF_NAME to match the default GitHub Action behavior,
BREAKING CHANGE: Introduce GITHUB_REF_POINT as a replacement for GITHUB_REF_NAME to match this GitHub Action behavior in v4.
2024-11-06 00:16:25 +01:00

905 B

Short Variables

Table of Contents

GITHUB_SHA_SHORT

Short the environment variable GITHUB_SHA

The commit SHA that triggered the workflow

GITHUB_SHA GITHUB_SHA_SHORT
ffac537e6cbbf934b08745a378932722df287a53 ffac537e

GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT

Short the value of github.event.pull_request.head.sha that represents the last commit used for triggering an action for a pull request.

github.event.pull_request.head.sha GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT
ffac537e6cbbf934b08745a378932722df287a53 ffac537e