I am experiencing an error while I try to execute a template which there is a type:number field.
I wrote this code:
...
- permanent_deletion_time_in_days:
title: 'Permanent Deletion Time (Days)'
type: number
description: 'Must be between 7 and 30.'
default: 30
...
- id: github-action
name: Dispatch GitHub Action for MyAsset
action: github:actions:dispatch
input:
workflowId: 'myasset.yml'
repoUrl: 'github?repo=edgeportal-asset-templates&owner=blabla'
branchOrTagName: 'main'
workflowInputs:
...
permanent_deletion_time_in_days: "${{ parameters.permanent_deletion_time_in_days }}"
owner: ${{ parameters.owner }}
env: ${{ parameters.env }}
produto: ${{ parameters.produto }}
...
Output error:
2025-03-23T18:34:45.910Z HttpError: Invalid value for input 'permanent_deletion_time_in_days' -
at /app/node_modules/@octokit/core/node_modules/@octokit/request/dist-node/index.js:125:2121
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)22
at async requestWithGraphqlErrorHandling (/app/node_modules/@octokit/plugin-retry/dist-node/index.js:71:20)23
at async Job.doExecute (/app/node_modules/bottleneck/light.js:405:18)
Can someone help me? How to fix it?
Regards