mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #433] [MERGED] Fix "reference not found" error #1448
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#1448
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/433
Author: @lufia
Created: 11/30/2020
Status: ✅ Merged
Merged: 1/12/2021
Merged by: @cplee
Base:
master← Head:fix-resolving-branch📝 Commits (4)
c789d52Fix "reference not found" errord68cbd4Merge branch 'master' into fix-resolving-branch1b69a6eMerge branch 'master' into fix-resolving-branch3bcd90bMerge branch 'master' into fix-resolving-branch📊 Changes
1 file changed (+16 additions, -17 deletions)
View changed files
📝
pkg/common/git.go(+16 -17)📄 Description
If an action uses the branch to pin the major version, for example
- use: 8398a7/action-slack@v3will stop with an error: "v3: reference not found."
In this case
actshould use refs/remotes/origin/v1 as a name to resolve v1 revision.#311
I checked:
b3299ecd30(current master) stopped by- use: 8398a7/action-slack@v3🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.