Skip to content

fix: update dependencies and GitHub Actions for security#47

Merged
sanjaychelliah merged 2 commits intomainfrom
fix/security-dependencies-and-actions-update
May 5, 2026
Merged

fix: update dependencies and GitHub Actions for security#47
sanjaychelliah merged 2 commits intomainfrom
fix/security-dependencies-and-actions-update

Conversation

@sanjaychelliah
Copy link
Copy Markdown
Contributor

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.

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>
Comment thread .github/workflows/run_tests.yml Fixed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-xdist to 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@v5 and pre-commit/action@v3.0.1, and bumped workflow build dependency setuptools.

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>
@sanjaychelliah sanjaychelliah merged commit 5faa5a6 into main May 5, 2026
4 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants