fix: update dependencies and GitHub Actions for security#47
Merged
sanjaychelliah merged 2 commits intomainfrom May 5, 2026
Merged
fix: update dependencies and GitHub Actions for security#47sanjaychelliah merged 2 commits intomainfrom
sanjaychelliah merged 2 commits intomainfrom
Conversation
Update outdated dependencies to latest secure versions: - pytest-xdist: 2.5.0 → 3.8.0 (2 years of security updates) - setuptools: 78.1.1 → 82.0.1 (latest security patches) - llama-index-core: 0.13.0 → 0.14.21 (bug fixes and improvements) - markdown: 3.8.1 → 3.10.2 (security patches) Update GitHub Actions to latest versions: - actions/setup-python: v4 → v5 (Node.js 20 runtime, security improvements) - pre-commit/action: v3.0.0 → v3.0.1 (latest patch fixes) All updates verified for compatibility with no conflicts detected. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates pinned Python dependencies and GitHub Actions versions to pick up security patches and keep CI tooling current.
Changes:
- Bumped test dependency
pytest-xdistto a newer pinned version. - Bumped runtime/dev dependencies (
llama-index-core,markdown) to newer pinned versions. - Updated GitHub Actions workflows to use
actions/setup-python@v5andpre-commit/action@v3.0.1, and bumped workflow build dependencysetuptools.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/requirements.txt | Updates pinned test dependency pytest-xdist. |
| requirements.txt | Updates pinned runtime dependencies (llama-index-core, markdown). |
| requirements-dev.txt | Keeps dev requirements aligned with runtime pins (llama-index-core, markdown). |
| .github/workflows/run_tests.yml | Updates CI to actions/setup-python@v5 and pre-commit/action@v3.0.1. |
| .github/workflows/run_annotation_tests.yml | Updates annotation CI to actions/setup-python@v5. |
| .github/workflows/requirements.txt | Updates pinned workflow dependency setuptools. |
| .github/workflows/publish.yml | Updates publishing workflow to actions/setup-python@v5. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pin third-party GitHub Actions to specific commit hashes to prevent supply chain attacks and ensure immutable action versions: - actions/setup-python@v5 → a26af69be951a213d495a4c3e4e4022e16d87065 - pre-commit/action@v3.0.1 → 2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd This resolves the CodeQL Advanced Security warning: "Unpinned tag for a non-immutable Action in workflow" Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
ackizilkale
approved these changes
May 5, 2026
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.
Update outdated dependencies to latest secure versions:
Update GitHub Actions to latest versions:
All updates verified for compatibility with no conflicts detected.