mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
1.9 KiB
1.9 KiB
CI/CD Workflow Fix Summary
Issues Fixed
1. Outdated GitHub Actions Versions
Updated all GitHub Actions to their latest stable versions:
actions/checkout@v3→actions/checkout@v4actions/setup-python@v4→actions/setup-python@v5actions/cache@v3→actions/cache@v4codecov/codecov-action@v3→codecov/codecov-action@v5github/codeql-action/upload-sarif@v2→github/codeql-action/upload-sarif@v3pypa/gh-action-pypi-publish@v1.13.0→pypa/gh-action-pypi-publish@release/v1
2. Context Access Warnings
Removed explicit CODECOV_TOKEN reference in workflow. The Codecov action now works without requiring a TOKEN_REMOVED for public repositories.
Changes Made
Test Job
- Updated all action versions to latest stable releases
- Removed explicit
CODECOV_TOKENusage
Lint Job
- Updated all action versions to latest stable releases
Docs Job
- Updated all action versions to latest stable releases
Security Scan Job
- Updated all action versions to latest stable releases
Deploy Job
- Updated all action versions to latest stable releases
- Updated PyPI publishing action to use
release/v1tag
Benefits
- Security: Latest action versions include security patches and bug fixes
- Reliability: Newer versions have better error handling and stability
- Performance: Improved caching and execution times
- Compatibility: Better support for newer GitHub features and platforms
Verification
After these changes:
- All action references should resolve correctly
- No more "repository or version not found" errors
- Workflow should execute with latest action features and security updates
Notes
- The
PYPI_API_TOKENSECRET_REMOVED is still required for publishing to PyPI - The
GITHUB_TOKENis automatically provided by GitHub Actions - Codecov integration now works without explicit TOKEN_REMOVED for public repositories