Repository navigation
DEVOPS-1154: Updating the python deploy workflow to reduce warnings message - #62
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The workflow inputs, outputs, permissions, artifacts, and pinned action versions align with CI-tools v3.13.0.
Review effort: Balanced
Findings: None
What changed in this PR
Updates Python deployment workflows to CI-tools v3.13.0 and adopts OIDC trusted publishing.
Changes:
- Publishes to PyPI/TestPyPI through direct trusted-publishing jobs.
- Retains JFrog publishing through reusable workflows.
- Pins updated actions to verified release commits.
| File | Description |
|---|---|
.github/workflows/python_deploy_dev.yml |
Adds direct TestPyPI publishing. |
.github/workflows/python_deploy_prod.yml |
Adds direct production PyPI publishing. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
sebhmg
reviewed
Oct 6, 2026
sebhmg
approved these changes
Oct 6, 2026
Comment on lines
+27
to
+38
| name: Publish development pypi package (JFrog Artifactory) | ||
| uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@b2de1e00a0be160d8cf6e14716825673070bf264 # v3.13.0 | ||
| with: | ||
| package-manager: 'poetry' | ||
| package-name: 'surface-apps' | ||
| version-tag: ${{ github.ref_name }} | ||
| python-version: '3.12' | ||
| virtual-repo-names: '["public-pypi-dev", "test-pypi"]' | ||
| virtual-repo-names: '["public-pypi-dev"]' | ||
| secrets: | ||
| JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }} | ||
| JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }} | ||
| PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }} | ||
| publish-pypi-package: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #62 +/- ##
===========================================
+ Coverage 84.95% 85.59% +0.63%
===========================================
Files 5 5
Lines 246 243 -3
Branches 30 29 -1
===========================================
- Hits 209 208 -1
+ Misses 22 21 -1
+ Partials 15 14 -1 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DEVOPS-1154 - address warnings upon publishing Python packages from GitHub
Updates
python_deploy_dev.ymlandpython_deploy_prod.ymlto CI-tools v3.13.0, reducing warning messages in the deploy workflows.