DEVOPS-1133: Pin GitHub Actions to commit hashes - #133
RomFloreani wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates this repository’s GitHub Actions workflow callers to reference the MiraGeoscience/CI-tools reusable workflows at v3.9.1, as part of an effort to move away from the floating v3 major tag.
Changes:
- Updated multiple reusable-workflow
uses:references from@v3to@v3.9.1across security, analysis, deploy, and JIRA automation workflows. - Standardized all referenced
CI-toolsreusable workflows to the same minor/patch tag (v3.9.1).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/security_scan.yml | Bumps referenced Zizmor reusable workflows from v3 to v3.9.1. |
| .github/workflows/python_deploy_prod.yml | Bumps production publish reusable workflows from v3 to v3.9.1. |
| .github/workflows/python_deploy_dev.yml | Bumps development publish reusable workflows from v3 to v3.9.1. |
| .github/workflows/python_analysis.yml | Bumps static analysis + pytest reusable workflows from v3 to v3.9.1. |
| .github/workflows/pr_jira_actions.yml | Bumps PR→JIRA reusable workflow from v3 to v3.9.1. |
| .github/workflows/issue_to_jira.yml | Bumps issue→JIRA reusable workflow from v3 to v3.9.1. |
Comments suppressed due to low confidence (4)
.github/workflows/security_scan.yml:43
- This
uses:is still pinned to thev3.9.1tag, but the PR description says workflows should be pinned to an immutable commit SHA with a dependabot-readable version comment. Pin to the commit behindv3.9.1instead.
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-annotate.yml@v3.9.1
.github/workflows/python_deploy_prod.yml:45
- This
uses:is still pinned to thev3.9.1tag, but the PR description says workflows should be pinned to an immutable commit SHA with a dependabot-readable version comment. Pin to the commit behindv3.9.1instead.
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@v3.9.1
.github/workflows/python_deploy_dev.yml:33
- This
uses:is still pinned to thev3.9.1tag, but the PR description says workflows should be pinned to an immutable commit SHA with a dependabot-readable version comment. Pin to the commit behindv3.9.1instead.
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@v3.9.1
.github/workflows/python_analysis.yml:39
- This
uses:is still pinned to thev3.9.1tag, but the PR description says workflows should be pinned to an immutable commit SHA with a dependabot-readable version comment. Pin to the commit behindv3.9.1instead.
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@v3.9.1
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #133 +/- ##
===========================================
- Coverage 64.62% 64.57% -0.05%
===========================================
Files 20 20
Lines 2120 2120
Branches 323 323
===========================================
- Hits 1370 1369 -1
Misses 651 651
- Partials 99 100 +1 🚀 New features to boost your workflow:
|
6a001c4 to
e800d9d
Compare
|
|
Pin all GitHub Actions and reusable workflow references to immutable commit hashes, and add the dependabot auto-merge and WIP status workflows.
e9bb343 to
bd4a7b5
Compare
|
|
DEVOPS-1133 - pin all GitHub actions and reusable workflows to hash
Expands moving GitHub Actions tags to the full semver tag pointing at the same commit, then pins every
uses:to a commit hash with a dependabot-readable version comment.Tags expanded in this repo:
MiraGeoscience/CI-tools/.github/workflows/reusable-jira-issue_to_jira.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_actions.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-python-static_analysis.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_rattler_package.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-advanced-security.yml@v3 -> @v3.12.0MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-annotate.yml@v3 -> @v3.12.0Workflows added:
.github/workflows/dependabot-auto-merge.yml.github/workflows/wip-status.ymlAll
MiraGeoscience/CI-toolsreusable workflows are pinned to7241532854727d993872b67fc761139b8438615b(v3.12.0).