Skip to content

Commit 192693f

Browse files
authored
Add theme input to action.yml (#423)
1 parent 7b9f475 commit 192693f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ inputs:
1111
token:
1212
description: "PAT or token to use for GitHub API"
1313
required: true
14+
theme:
15+
description: "Theme for the card"
16+
required: false
17+
default: "default"
1418
runs:
1519
using: "composite"
1620
steps:
@@ -24,4 +28,4 @@ runs:
2428
env:
2529
GITHUB_TOKEN1: ${{ inputs.token }}
2630
run: |
27-
deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}"
31+
deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}" "${{ inputs.theme }}"

0 commit comments

Comments
 (0)