From 2210125dc355a16b1f5cf85aa5c2eee2344432dd Mon Sep 17 00:00:00 2001 From: Mathieu Fenniak Date: Wed, 8 Jul 2026 01:45:10 +0200 Subject: [PATCH] chore: fix build after #13338 merge caused compile error (#13345) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following the merge of #13338, `forgejo` branch is [failing to build](https://codeberg.org/forgejo/forgejo/actions/runs/174924/jobs/0/attempt/1) with: ``` tests/integration/api_repo_file_helpers.go:1: : # forgejo.org/tests/integration [forgejo.org/tests/integration.test] tests/integration/actions_trigger_test.go:1365:13: undefined: forgery tests/integration/actions_trigger_test.go:1366:13: undefined: forgery tests/integration/actions_trigger_test.go:1367:42: undefined: forgery (typecheck) // Copyright 2019 The Gitea Authors. All rights reserved. 1 issues: * typecheck: 1 exit status 1 Please run 'make lint-go-fix' and commit the result make: *** [Makefile:494: lint-go] Error 1 ⚙️ [runner]: exitcode '2': failure ``` Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13345 Reviewed-by: Gusted --- tests/integration/actions_trigger_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/actions_trigger_test.go b/tests/integration/actions_trigger_test.go index 8c16ffbf39..f8b3ad5c2b 100644 --- a/tests/integration/actions_trigger_test.go +++ b/tests/integration/actions_trigger_test.go @@ -35,6 +35,7 @@ import ( repo_service "forgejo.org/services/repository" files_service "forgejo.org/services/repository/files" "forgejo.org/tests" + "forgejo.org/tests/forgery" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require"