-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (35 loc) · 1014 Bytes
/
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
name: "CO2 CI"
description: "Get notified about your website's carbon emissions on commits & PRs along with some fun facts about it!"
inputs:
url:
description: "The url to check (please include the protocol eg. https://)"
required: true
comment:
description: "Whether to create commit & PR comments"
required: false
default: "true"
token:
description: "Token used for creating comments"
required: false
default: ${{ github.token }}
renewable:
description: "Whether to check if the website uses renewable energy (calls external service)"
required: false
default: "false"
nerds:
description: "Whether to include 'Stats for nerds' (comment only)"
required: false
default: "true"
footer:
description: "Whether to include the footer (comment only)"
required: false
default: "true"
outputs:
nerds:
description: "'Stats for nerds' (in JSON)"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "cloud-off"
color: "green"