We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8bde9 commit e92d772Copy full SHA for e92d772
models/git/commit_status.go
@@ -233,7 +233,7 @@ func (status *CommitStatus) cutTargetURLGiteaActionsPrefix(ctx context.Context)
233
}
234
235
prefix := status.Repo.Link() + "/actions"
236
- return strings.CutPrefix(prefix, status.TargetURL)
+ return strings.CutPrefix(status.TargetURL, prefix)
237
238
239
// ParseGiteaActionsTargetURL parses the commit status target URL as Gitea Actions link
0 commit comments