Обновить .gitea/workflows/detekt.yml
Detekt / Detekt analysis (push) Successful in 25s

This commit is contained in:
2026-10-08 09:27:41 +00:00
parent 80f1192e94
commit 72c46bbe5f
+2 -2
View File
@@ -106,8 +106,8 @@ jobs:
line_number=$(echo "$location" | cut -d: -f2) line_number=$(echo "$location" | cut -d: -f2)
column_number=$(echo "$location" | cut -d: -f3) column_number=$(echo "$location" | cut -d: -f3)
# Убираем префикс workspace/... если он есть # Убираем префикс workspace/owner/repo/ если он есть
file_clean=$(echo "$file" | sed 's|^workspace/[^/]*/||') file_clean=$(echo "$file" | sed -E 's|^workspace/[^/]+/[^/]+/||')
repo_url="${{ gitea.server_url }}/${{ gitea.repository }}" repo_url="${{ gitea.server_url }}/${{ gitea.repository }}"
sha="${{ gitea.sha }}" sha="${{ gitea.sha }}"