Can the defalut variables be parsed within the action

for example:

using ${GITHUB_SHA}…can i just parse the output to just return the GltSHA or the first 6 chars of the shaw