1
0
mirror of https://github.com/benjlevesque/short-sha.git synced 2025-12-06 01:37:51 +01:00
Files
short-sha/action.yml
2023-03-19 11:36:59 +01:00

22 lines
449 B
YAML

name: 'short-sha'
description: 'Provide a description here'
author: 'benjlevesque'
branding:
color: orange
icon: git-pull-request
inputs:
length:
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'
runs:
using: 'node16'
main: 'dist/index.js'