Conversation
altro3
force-pushed
the
buld-scripts4
branch
2 times, most recently
from
September 27, 2026 10:00
ff64f46 to
0c42e4a
Compare
altro3
force-pushed
the
buld-scripts4
branch
3 times, most recently
from
September 27, 2026 10:24
7418f2d to
5f940ef
Compare
altro3
force-pushed
the
buld-scripts4
branch
from
September 27, 2026 10:30
5f940ef to
81e3231
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
!!! MERGE ONLY AFTER THESE:
#894
#895
#897
[RU]
Заголовок:
ci: оптимизация шагов сборки отчетов зависимостей и повышение безопасности воркфлоуОписание изменений:
В рамках данного PR проведена точечная оптимизация CI-скрипта для пул-реквестов:
ifна уровне воркфлоу. Теперь тесты и генерация отчетов не запускаются автоматически для PR из чужих форков, что защищает ресурсы репозитория и внутренние секреты сборки.burrunan/gradle-cache-action: Заменена связкаsetup-gradleи раздельных вызовов./gradlew. Использование специализированного экшена позволяет кешировать Gradle-процессы агрессивнее, а также запускать задачи параллельно. Это существенно ускоряет время сборки джобы.--no-daemon(так как под/контейнер в CI всё равно уничтожается после выполнения джобы), а также добавлен флаг--console=coloredдля лучшей читаемости логов в CI.mkdir -p build/reports. Это гарантирует, что папка точно будет существовать в файловой системе перед записью файлаpr-number.txt, предотвращая возможную ошибкуNo such file or directory.${{ github.event.pull_request.number }}как в блокеconcurrency, так и в шагах сохранения артефактов.ubuntu-latestдо актуальнойubuntu-26.04.actions/checkout@v5,actions/setup-java@v5иactions/upload-artifact@v7.[EN]
Title:
ci: optimize dependency reporting steps and improve workflow securityDescription:
This PR introduces targeted optimizations and security enhancements to the PR workflow:
ifcondition at the workflow level. Now, tests and report generation won't trigger automatically for PRs coming from external forks, protecting repository resources and secrets.burrunan/gradle-cache-action: Replaced the standardsetup-gradleand separate./gradlewexecutions with a specialized Gradle cache action. This provides more aggressive caching, allows tasks to run in parallel, and significantly speeds up the job run time.--no-daemonflag (since the CI pod/container is ephemeral and gets destroyed anyway), and added--console=coloredfor cleaner and more readable CI logs.mkdir -p build/reportsright before saving the PR number. This ensures that the destination directory always exists before attempting to writepr-number.txt, eliminating potentialNo such file or directoryerrors.${{ github.event.pull_request.number }}across both theconcurrencyblock and the step execution.ubuntu-latesttoubuntu-26.04.actions/checkout@v5,actions/setup-java@v5, andactions/upload-artifact@v7.