CI : Pin github actions to full commit sha - #9843
Conversation
|
Does this interfere with autoupdating dependencies? |
No, it will not |
|
@copilot please fix the merge conflicts in this pull request. |
1 similar comment
|
@copilot please fix the merge conflicts in this pull request. |
There was a problem hiding this comment.
Pull request overview
This PR hardens the GitHub Actions CI configuration by replacing mutable action version tags with full commit SHAs, aligning with supply-chain security best practices (as requested in #9799).
Changes:
- Pin
actions/checkout,actions/setup-python,github/codeql-action,pypa/cibuildwheel,r-lib/actions/setup-pandoc, andts-graphviz/setup-graphvizto full 40-character commit SHAs. - Apply the pinning consistently across all existing workflows (documentation build, wheels cron job, emscripten/pyodide build, and CodeQL).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/generate-documentation.yml | Pins all third-party actions used in documentation generation to full commit SHAs. |
| .github/workflows/emscripten.yml | Pins checkout and cibuildwheel actions to full commit SHAs for the Pyodide build workflow. |
| .github/workflows/cron-test.yml | Pins checkout, setup-python, and cibuildwheel actions to full commit SHAs for scheduled wheel builds. |
| .github/workflows/codeql.yml | Pins checkout and all CodeQL action steps (init/autobuild/analyze) to a full commit SHA. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@bashtage i've fixed the conflict in this |
|
After moving with this, i'd like to know thoughts on
|
|
Thanks. Copilot could fix the conflict. So much for AI taking over :-) |
NumPy's guide.
Details
Notes:
needed for doc changes.
then show that it is fixed with the new code.
verify you changes are well formatted by running
flake8is installed. This command is also available on Windowsusing the Windows System for Linux once
flake8is installed in thelocal Linux environment. While passing this test is not required, it is good practice and it help
improve code quality in
statsmodels.