1
0
mirror of https://github.com/benjlevesque/short-sha.git synced 2025-12-06 01:37:51 +01:00

Enable customization of env variable name

This commit is contained in:
Benjamin Levesque
2023-03-19 11:36:59 +01:00
parent 07f50eae02
commit 36eb8c5309
5 changed files with 33 additions and 9 deletions

View File

@@ -6,9 +6,13 @@ branding:
icon: git-pull-request
inputs:
length:
description: 'length of the sha1'
description: 'length of the shortened sha1'
default: '7'
required: false
variable_name:
description: "name of the exported env variable"
default: "SHA"
required: false
outputs:
sha:
description: 'shortened SHA'