-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (45 loc) · 1.11 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: 'Orcs Have Issues Profile Badges'
description: 'A GitHub action that tracks orcs-have-issues game achievements and adds badges to a profile readme.'
branding:
icon: award
color: red
inputs:
token:
description: 'GitHub token with content write permission'
required: true
repo:
description: 'The owner and repository name, for example, MikeAmputer/MikeAmputer'
required: false
default: ${{ github.repository }}
owner:
description: 'Repository owner'
required: false
default: ${{ github.repository_owner }}
branch:
description: 'Branch'
required: false
default: ${{ github.ref_name }}
readme:
description: 'Path to readme'
required: false
default: 'README.md'
size:
description: 'Size of badge icons in pixels'
required: false
default: '64'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--token'
- ${{ inputs.token }}
- '--repo'
- ${{ inputs.repo }}
- '--owner'
- ${{ inputs.owner }}
- '--branch'
- ${{ inputs.branch }}
- '--readme'
- ${{ inputs.readme }}
- '--size'
- ${{ inputs.size }}