mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #438] Segmentation fault when omitting the GitHub repo revision #304
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#304
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 @carlobeltrame on GitHub (Dec 8, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/438
When writing an (invalid) workflow YAML like this (note the missing revision
@masterafterOskarStark/php-cs-fixer-ga):act will run into a segmentation fault:
GitHub actions will instead display a sensible error message:
This was the problem behind #213, and a proper error message could have prevented that issue.
@lufia commented on GitHub (Jan 15, 2021):
@carlobeltrame Though I tried to reproduce that panic, I don't reproduce it yet. Instead I got an error "reference not found". Hmm.
This issue's goal is to exit act with appropriate an error message. right?
@carlobeltrame commented on GitHub (Jan 16, 2021):
Strange, I can still reproduce it including the segmentation fault on my end. If it is of any concern, I am currently using the act-environments-ubuntu image, although I think at the time I opened this issue I was using the stock image of act.
Anyway, yes, if act were to output a sensible error message, I would consider this issue as fixed.
@lufia commented on GitHub (Jan 21, 2021):
I became to be able to reproduce this panic. This panic is occurred on
e47a239, but one6fcfed, "reference not found" is occurred when run with above workflow.Though I'm not sure what is the cause of this difference, I will try to add a log message.