Files
dynamic-badges-action/action.yml
Simon Schneegans f7c1d9354f 🔧 Some formatting
2020-08-15 13:21:15 +02:00

55 lines
1.4 KiB
YAML

name: 'Dynamic Badges'
description: 'Uses shields.io to create custom badges and uploads them to a gist.'
branding:
icon: 'tag'
color: 'green'
inputs:
auth:
description: 'Your secret with the gist scope'
required: true
gist-id:
description: 'The ID of the gist to use'
required: true
badge-name:
description: 'The *.json filename of the badge data'
required: true
label:
description: 'The left text of the badge'
required: true
message:
description: 'The right text of the badge'
required: true
label-color:
description: 'The left color of the badge'
required: false
color:
description: 'The right color of the badge'
required: false
is-error:
description: 'The right color of the badge'
required: false
named-logo:
description: 'The right color of the badge'
required: false
logo-svg:
description: 'The right color of the badge'
required: false
logo-color:
description: 'The right color of the badge'
required: false
logo-width:
description: 'The right color of the badge'
required: false
logo-position:
description: 'The right color of the badge'
required: false
style:
description: 'The right color of the badge'
required: false
cache-seconds:
description: 'The right color of the badge'
required: false
runs:
using: 'node12'
main: 'index.js'