mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2443] Validate types of action inputs #1122
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @krzema12 on GitHub (Sep 9, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2443
Act version
0.2.66
Feature description
Hi!
I thought that a nice addition to the tool would be the ability to validate if given values of inputs match the declared inputs. You may think "but the actions don't really declare the types". Indeed, GitHub doesn't let action owners define the types with a first-party tool, but there's:
action-types.ymlin their repos!Integrating with the above tools would let the users know about a type mismatch even before actually running the workflow. I thought it could be an opt-in feature, so that by default, GitHub's behavior of not checking the types is preserved. Alternatively, opt-out would help with giving the users more safety by default, and they could disable if needed.
Let me know what you think!