admin管理员组文章数量:1401839
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
本文标签: BackStage templatetypenumber issuewhen dispatch data to GitActionsStack Overflow
版权声明:本文标题:BackStage template - type:number issue - when dispatch data to GitActions - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744272036a2598229.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论