mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1600] Some actions tag can act erroneous sometimes #804
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#804
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 @Porkepix on GitHub (Feb 2, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1600
Bug report info
Command used with act
Describe issue
One of the action I used have an issue with the tag we're supposed to use. the issue only happens with
actand can't be reproduced on GitHub Actions.Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
This tag points to the exact same commit hash as the
v4.2.0tag, and replacingv4byv4.2.0fixes the issue and make it work, however that means the workflows/actions won't benefit from next major releases of the action.Only
actget such issue while running, this can't be reproduced directly on GitHub.Also, a little bit out of topic but while debugging/reproducing the issue, I noticed that the actions I wrote myself weren't updated while present in
~/.cache/act, using@mainref. As I'm still working alone on those actions, I use some force push to keep the history clean for this bootstrap, can this cause a hard time updating the actions foract? Shouldn't it be able to deal with it? (Here the only solution is to remove them from~/.cache/act).@remcovg89 commented on GitHub (May 15, 2023):
I'm experiencing this same issue, did you manage to solve this or find a workaround?
@github-actions[bot] commented on GitHub (Nov 12, 2023):
Issue is stale and will be closed in 14 days unless there is new activity
@Porkepix commented on GitHub (Nov 12, 2023):
Issue probably's still around, though I'm not currently using act.
@eurek commented on GitHub (Dec 5, 2023):
Same issue
@victorpopkov commented on GitHub (Mar 12, 2024):
Most likely, the issue is due to the use of Git nested tags, which currently don't seem to be supported by https://github.com/go-git/go-git which this project uses as a dependency. See https://github.com/go-git/go-git/issues/361.
For example:
Will result in the creation of the nested tag
v4which references the tagv4.2.0.Git should even give a hint regarding that
hint: You have created a nested tag. The object referred to by your new tag is hint: already a tag. If you meant to tag the object that it points to, use: hint: hint: git tag -f v4 v4.2.0^{} hint: Disable this message with "git config advice.nestedTag false"Respectively, as of now, it's better to reference the object the
v4.2.0tag points to instead:For those who want to see if this is what is causing the issue on their side, you may try changing your tags in
actcache first:~/.cache/act/. Then runactwith--action-offline-modeflag to avoid fetching and pulling. For example:@github-actions[bot] commented on GitHub (Sep 9, 2024):
Issue is stale and will be closed in 14 days unless there is new activity
@Porkepix commented on GitHub (Sep 9, 2024):
I don't have environment to test this anymore, unfortunately. Without fix it's likely the issue is still around, but I can't tell currently.
@github-actions[bot] commented on GitHub (Mar 9, 2025):
Issue is stale and will be closed in 14 days unless there is new activity
@Porkepix commented on GitHub (Mar 9, 2025):
I did some tests and found that
v4tag is still affected while newv5works without any issue.So there's still something weird around
v4tag that might also affect other actions, I guess that means this issue should stay open?@rakkasumi commented on GitHub (May 19, 2025):
same issue here, could use a specific tag like
v4.x.xas a workaround@luckyabsoluter commented on GitHub (Feb 14, 2026):
error for