-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (33 loc) · 896 Bytes
/
action.yml
File metadata and controls
33 lines (33 loc) · 896 Bytes
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
name: 'badger23-contribution-graph'
description: 'Generates a contribution graph that you can use on your github profile'
branding:
icon: calendar
color: orange
inputs:
token:
description: "Personal access token that meets the scope criteria for Github GraphQL API"
required: true
title:
description: "Title to appear on graph"
required: false
default: "Contribution Graph"
viewby:
description: "day, week, month"
required: true
default: 'day'
farback:
description: "Amount of 'viewby' to go back on our graph. You cannot exceed a year as per github requirements"
required: false
default: 14
runs:
using: 'docker'
image: 'docker://ghcr.io/jbraunsmajr/contributiongraph:master'
args:
- '-t'
- ${{ inputs.token }}
- '-v'
- ${{ inputs.viewby }}
- '-f'
- ${{ inputs.farback }}
- '-l'
- ${{ inputs.title }}