-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
37 lines (33 loc) · 1.07 KB
/
action.yml
File metadata and controls
37 lines (33 loc) · 1.07 KB
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
name: 'Contributor Map'
description: 'Generate an SVG map showing countries with the most contributions to the repository'
branding:
icon: 'map'
color: 'green'
inputs:
repository:
description: 'Name of the repository for which generate the contributor map'
required: false
default: ${{ github.repository }}
output:
description: 'Name of the generated map file'
required: false
default: 'contributor-map.svg'
palette:
description: 'A list of comma-separated hex triplets to customize the appearance of the map'
required: false
runs:
using: composite
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Generate map
uses: docker://ghcr.io/tunaitis/contributor-map:dev
with:
repository: ${{ inputs.repository }}
token: ${{ github.token }}
output: ${{ inputs.output }}
palette: ${{ inputs.palette }}
- name: Commit the generated file back to the repository
uses: stefanzweifel/[email protected]
with:
commit_message: Automated Change