fix compilation errors after rebase

This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ committed 2026-04-02 20:01:15 -04:00
1 parent 2a56bfbd64
commit 7c18a45f86
6 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -118,7 +118,7 @@ func UpdateGeneralSettings(ctx *context.Context) {
if ctx.FormBool("cross_repo_add_target") {
targetRepoName := ctx.FormString("cross_repo_add_target_name")
if targetRepoName != "" {
targetRepo, err := repo_model.GetRepositoryByName(ctx, rCtx.OwnerID, targetRepoName)
targetRepo, err := repo_model.GetRepositoryByName(ctx, rCtx.OwnerID, rCtx.GroupID, targetRepoName)
if err != nil {
if repo_model.IsErrRepoNotExist(err) {
ctx.JSONError("Repository doesn't exist")
+2
View File
@@ -36,6 +36,7 @@ const (
type runnersCtx struct {
OwnerID int64
RepoID int64
GroupID int64
IsRepo bool
IsOrg bool
IsAdmin bool
@@ -49,6 +50,7 @@ func getRunnersCtx(ctx *context.Context) (*runnersCtx, error) {
if ctx.Data["PageIsRepoSettings"] == true {
return &runnersCtx{
RepoID: ctx.Repo.Repository.ID,
GroupID: ctx.Repo.Repository.GroupID,
OwnerID: 0,
IsRepo: true,
RunnersTemplate: tplRepoRunners,