mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #12] "panic:unquote err: invalid syntax" thrown when parsing args whose value is a regex #8
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#8
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 @francisfuzz on GitHub (Jan 18, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/12
👋 @cplee –– thank you for creating this project! ✨
A workflow file containing an action whose args specify a REGEX will throw a "panic:unquote err: invalid syntax" error.
Looking at previously reported issues, https://github.com/nektos/act/issues/4 was the most similar report raised for this kind of error.
example.workflowfileRunning
act -lon this file with verbose output enabledExpand for remaining verbose output
While I don't have a complete understanding for how things really work under the hood, I see that the parsed literal is logged in
parseCommand:github.com/nektos/act@36303ce43d/actions/parser.go (L136)parseCommandis called in this block:github.com/nektos/act@36303ce43d/actions/parser.go (L51)@cplee commented on GitHub (Jan 18, 2019):
@francisfuzz this is now fixed on
master, can you confirm? i'll cut a new release after i get your 👍@francisfuzz commented on GitHub (Jan 22, 2019):
Thanks @cplee - I've confirmed
github.com/nektos/act@a04141c444works for me locally 👍While I appreciate testing this manually, I think a good step forward is to set up some form of automated testing for this project. Opened https://github.com/nektos/act/issues/17 for discussion ✌️