Skip to content

fix safety check and copilot instructions#265

Merged
shaypal5 merged 3 commits intomasterfrom
update-safety-check-action
Jul 3, 2025
Merged

fix safety check and copilot instructions#265
shaypal5 merged 3 commits intomasterfrom
update-safety-check-action

Conversation

@shaypal5
Copy link
Copy Markdown
Member

@shaypal5 shaypal5 commented Jul 3, 2025

No description provided.

Copy link
Copy Markdown
Contributor

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 the minimum Python version, replaces the security scan action, and adds Copilot custom instructions for the Cachier project.

  • Bumps required Python version from 3.8 to 3.9 in the README.
  • Switches the security vulnerabilities scanner to aufdenpunkt/python-safety-check@v1.0.6.
  • Introduces a new Copilot instructions file with usage and review guidelines.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.rst Updated Python compatibility to 3.9+.
.github/workflows/safety.yml Replaced the safety scan action with aufdenpunkt/python-safety-check.
.github/copilot-instructions.md Added GitHub Copilot custom instruction guidelines for Cachier.
Comments suppressed due to low confidence (1)

README.rst:47

  • [nitpick] Consider updating your CI/test matrices (e.g., GitHub Actions or Travis) to remove Python 3.8 entries and ensure they align with the new minimum Python 3.9 requirement.
* Compatible with Python 3.9+ (Python 2.7 was discontinued in version 1.2.8).

Comment thread .github/workflows/safety.yml Outdated
uv pip compile pyproject.toml -o requirements.txt
- name: Security vulnerabilities scan
uses: shaypal5/python-safety-checker@v1.0.6
uses: aufdenpunkt/python-safety-check@v1.0.6
Copy link

Copilot AI Jul 3, 2025

Choose a reason for hiding this comment

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

For stronger supply-chain security, pin this action to a specific commit SHA instead of a mutable tag to avoid unexpected upstream changes.

Suggested change
uses: aufdenpunkt/python-safety-check@v1.0.6
uses: aufdenpunkt/python-safety-check@<commit-sha>

Copilot uses AI. Check for mistakes.
@shaypal5 shaypal5 merged commit d9dd752 into master Jul 3, 2025
26 of 27 checks passed
@shaypal5 shaypal5 deleted the update-safety-check-action branch July 3, 2025 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants