mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #1657] cannot unmarshal !!str true if... into bool #821
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#821
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 @ccontino84 on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1657
Bug report info
Command used with act
Describe issue
The following configuration is perfectly fine in GH:
but it fails with the following error when I run the job locally with act:
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@alex-savchuk commented on GitHub (Mar 3, 2023):
I reproduce this with "on.workflow_call.inputs" (https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_call) but not with top-level "inputs":
Do you mean for "fine" that this condition "if
event_nameisworkflow_dispatch." is working (required is becoming true or false) or this condition is ignored and used as comment?@ccontino84 commented on GitHub (Mar 3, 2023):
Sorry I forgot to mention that the job doesn't run as a standalone job, it's a composite action. The
requiredproperty works as expected when running in GH, but most importantly it doesn't fail with an error.Let me know if you need more information, unfortunately I can't upload the whole file.
To be more clear, this is the sample configuration:
@github-actions[bot] commented on GitHub (Aug 31, 2023):
Issue is stale and will be closed in 14 days unless there is new activity