Repository navigation
Conversation
Update all GitHub Actions in CI and PyPI release workflows to their latest releases pinned by full 40-character commit SHA, migrate Ubuntu runners to ubuntu-26.04, and apply least-privilege permissions and persist-credentials: false on checkout steps. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
xSAVIKx
marked this pull request as ready for review
November 29, 2026 17:53
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
xSAVIKx
added a commit
that referenced
this pull request
Nov 29, 2026
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
4 of 6 tasks
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.
Related Issue: N/A
Type of change:
Description:
Updates GitHub Actions workflows (
.github/workflows/main.ymland.github/workflows/pypi-release.yml) to improve supply-chain security and modernize the Ubuntu runner environment:Updated all GitHub Actions to their latest versions and pinned by full 40-character commit SHA (with version comments):
actions/checkout@v6v7.0.13d3c42e5aac5ba805825da76410c181273ba90b1astral-sh/setup-uv@v8.1.0v10.4.01db35dd8eee11c5894872e0b383ae6c406cf738dactions/upload-artifact@v7.0.1v7.0.2cf430e030ddbb5b0abf93d22962f4752f3646cd9actions/download-artifact@v8.0.1v8.0.29000827ccba6bdab643e8b6fd33ac0654aef8333pypa/gh-action-pypi-publish@release/v1v1.14.37245906fb61fa33a13554f9d5fb856fe61758086pxpm/github-tag-action@1.0.11.0.107a0f099a1db2ef2c50367665450b9f6ef3b6e9dMigrated pinned Ubuntu CI runners to
ubuntu-26.04:.github/workflows/main.yml:lintjob pinned toubuntu-26.04(testmatrix remains onubuntu-latest)..github/workflows/pypi-release.yml:build_dist,publish, andtagjobs (ubuntu-24.04→ubuntu-26.04).Workflow security hardening:
permissions:blocks (contents: readat workflow level;contents: writescoped only to thetagjob inpypi-release.yml).persist-credentials: falseto allactions/checkoutsteps.Verified locally with YAML parsing, SHA verification against GitHub API,
zizmor(0 low/medium/high findings), andpre-commithooks.Pre-submission checklist:
git commit --signoff.README.md,CHANGELOG.md, etc.) as necessary.pre-commitandtoxand all checks pass.