[UI] Actions: I will always run make fmt before pushing

I will always run make fmt before pushing
I will always run make fmt before pushing
I will always run make fmt before pushing
This commit is contained in:
Panagiotis "Ivory" Vasilopoulos 2024-02-22 22:31:26 +01:00
parent 2a0a5c6ec0
commit 62f3ff6074
2 changed files with 3 additions and 2 deletions

View file

@ -22,10 +22,10 @@ import (
"github.com/stretchr/testify/assert"
)
func GetWorkflowRunRedirectURI(t *testing.T, repo_url, workflow string) string {
func GetWorkflowRunRedirectURI(t *testing.T, repoURL, workflow string) string {
t.Helper()
req := NewRequest(t, "GET", fmt.Sprintf("%s/actions/workflows/%s/runs/latest", repo_url, workflow))
req := NewRequest(t, "GET", fmt.Sprintf("%s/actions/workflows/%s/runs/latest", repoURL, workflow))
resp := MakeRequest(t, req, http.StatusTemporaryRedirect)
return resp.Header().Get("Location")

View file

@ -26,6 +26,7 @@ import (
repo_service "code.gitea.io/gitea/services/repository"
files_service "code.gitea.io/gitea/services/repository/files"
"code.gitea.io/gitea/tests"
"github.com/stretchr/testify/assert"
)