Add theme input to action.yml (#423)

This commit is contained in:
Francesco Di Giore 2026-03-04 00:52:06 +01:00 • committed by GitHub
parent 7b9f47565e
commit 192693fe27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,10 @@ inputs:
token: token:
description: "PAT or token to use for GitHub API" description: "PAT or token to use for GitHub API"
required: true required: true
theme:
description: "Theme for the card"
required: false
default: "default"
runs: runs:
using: "composite" using: "composite"
steps: steps:
@ -24,4 +28,4 @@ runs:
env: env:
GITHUB_TOKEN1: ${{ inputs.token }} GITHUB_TOKEN1: ${{ inputs.token }}
run: | run: |
deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}" deno run --allow-net --allow-env --allow-read --allow-write $GITHUB_ACTION_PATH/render_svg.ts "${{ inputs.username }}" "${{ inputs.output_path }}" "${{ inputs.theme }}"