mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1443] Use of actions from git source code instead of package/release breaks xt0rted/stylelint-problem-matcher@v1 #749
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#749
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 @ineffyble on GitHub (Nov 16, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1443
Bug report info
Command used with act
Describe issue
The
xt0rted/stylelint-problem-matcher@v1action fails with an error as the referencedindex.jsdoesn't exist.This looks to occur because the
distfolder does not exist in the source code for the action. It does exist in the zip/tarball associated with the release though, so I assume GitHub Actions natively uses the release artifact and act uses the source.Link to GitHub repository
https://github.com/mastodon/mastodon
Workflow content
Relevant log output
@github-actions[bot] commented on GitHub (Dec 17, 2022):
Issue is stale and will be closed in 14 days unless there is new activity
@ineffyble commented on GitHub (Dec 17, 2022):
do not stale me
@ChristopherHX commented on GitHub (Dec 17, 2022):
Looking at a tag like 1.3.0 and there is a dist folder in the source code https://github.com/xt0rted/stylelint-problem-matcher/tree/v1.3.0.
I think act is excluding to many files with the .gitignore file found in the repository.
@ChristopherHX commented on GitHub (Dec 17, 2022):
Sorry I cannot reproduce this issue with act v0.2.34 ( linux arm64 ) and
xt0rted/stylelint-problem-matcher@v1, it has no problem finding index.js in the dist folder.I cloned the referenced repository, commented out the
cacheproperty of setup-node then ran act.Could you try cleaning the cache of act? e.g.
rm -r ~/.cache/act, act should download all actions fresh again. I'm not shure what the issue is in your case.@github-actions[bot] commented on GitHub (Jan 17, 2023):
Issue is stale and will be closed in 14 days unless there is new activity
@sbaynham-gridwise commented on GitHub (Mar 23, 2023):
Having this same issue with https://github.com/xt0rted/pull-request-comment-branch v1.3.0 - can confirm that git isn't pulling the dist folder into act, seems like it's because it's in the gitignore.
@ZauberNerd commented on GitHub (Mar 23, 2023):
That's an issue with the go-git library that we're using: https://github.com/go-git/go-git/issues/633
@github-actions[bot] commented on GitHub (Sep 20, 2023):
Issue is stale and will be closed in 14 days unless there is new activity