mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #361] Improper parsing of action entrypoint #255
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#255
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 @dfreilich on GitHub (Sep 8, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/361
I'm developing a Github Action, and when I try to have something like:
actcomplains becauseThis seems to be against Github's own parser, however - for it failed on Github Actions when I wrapping my entrypoint in an array. (see here)
@github-actions[bot] commented on GitHub (Nov 8, 2020):
Issue is stale and will be closed in 7 days unless there is new activity
@ShahradR commented on GitHub (Nov 14, 2020):
Oh, I ran into this issue too! I'm definitely not an expert in either Go or C#, but I think the difference in implementation between the two runners can be found here:
stringstring[]I ended up using a custom Dockerfile in my action, sidestepping the issue, but I did some analysis in ShahradR/action-taskcat#26. Hopefully that helps a bit?
Here are the details for my run (it's been a while, so I was on an older version of act when I ran this, but I can set it up on the latest version if it helps!)
main.workflowfile usedaction.yamlfile in ShahradR/action-taskcat@github-actions[bot] commented on GitHub (Jan 14, 2021):
Issue is stale and will be closed in 7 days unless there is new activity
@donovanmuller commented on GitHub (Jan 16, 2021):
Also facing this issue using https://github.com/dflook/terraform-github-actions
E.g. workflow:
results in:
from here:
this obviously works when used in an actual run.
@github-actions[bot] commented on GitHub (Feb 19, 2021):
Issue is stale and will be closed in 14 days unless there is new activity