Files
dynamic-badges-action/action.yml

33 lines
796 B
YAML
Raw Normal View History

2020-08-15 12:11:58 +02:00
name: 'Dynamic Badges'
description: 'Uses shields.io to create custom badges and uploads them to a gist.'
branding:
icon: 'tag'
color: 'green'
2020-08-15 12:02:21 +02:00
inputs:
2020-08-15 12:11:58 +02:00
auth:
description: 'Your secret with the gist scope'
2020-08-15 12:02:21 +02:00
required: true
2020-08-15 12:14:47 +02:00
gist-id:
2020-08-15 12:11:58 +02:00
description: 'The ID of the gist to use'
required: true
2020-08-15 12:18:20 +02:00
badge-name:
description: 'The *.json filename of the badge data'
required: true
2020-08-15 12:11:58 +02:00
label:
description: 'The left text of the badge'
required: true
message:
description: 'The right text of the badge'
required: true
2020-08-15 12:14:47 +02:00
label-color:
2020-08-15 12:11:58 +02:00
description: 'The left color of the badge'
required: false
default: 'grey'
color:
description: 'The right color of the badge'
required: false
default: 'lightgrey'
2020-08-15 12:02:21 +02:00
runs:
using: 'node12'
main: 'index.js'