chore(ci): обновлены версии GitHub Actions - #150
Merged
npinaev merged 1 commit intoAug 26, 2026
Merged
Conversation
Runner-ы GitHub принудительно переводят Node 20 на Node 24, а ветка master у pypa/gh-action-pypi-publish закрыта (sunset) и не получает обновлений, включая исправления безопасности. Сейчас это предупреждения, но публикация пакета висит на неподдерживаемой ссылке. - actions/checkout: v4, v3 и master -> v7 - actions/setup-python: v5 и v1 -> v7 - pypa/gh-action-pypi-publish: master -> release/v1 - repository_url -> repository-url (в release/v1 старое имя объявлено устаревшим) - python-version взят в кавычки: без них YAML читает значение как число, и версия вида 3.10 превратилась бы в 3.1 Отдельно стоит отметить два места, которые остаются небезопасными по умолчанию и требуют отдельного решения: - publish выполняется по паролю (API-токен в secrets); PyPI рекомендует секретless-публикацию через Trusted Publishing; - ссылки на экшены не закреплены за конкретными SHA, поэтому владелец тега может подменить исполняемый код.
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.
Runner-ы GitHub принудительно переводят Node 20 на Node 24, а ветка master у pypa/gh-action-pypi-publish закрыта (sunset) и не получает обновлений, включая исправления безопасности. Сейчас это предупреждения, но публикация пакета висит на неподдерживаемой ссылке.
Отдельно стоит отметить два места, которые остаются небезопасными по умолчанию и требуют отдельного решения: