Skip to content

Devops 1154: address warnings upon publishing Python packages from GitHub - #216

Merged
RomFloreani merged 11 commits into
mainfrom
DEVOPS-1154
Sep 28, 2026
Merged

RomFloreani merged 11 commits into
mainfrom
DEVOPS-1154

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

DEVOPS-1154 - address warnings upon publishing Python packages from GitHub

testing with MiraGeoscience/simpeg#166

Copilot AI lite review requested due to automatic review settings August 13, 2026 15:13
@github-actions github-actions Bot changed the title [WIP] Devops 1154 DEVOPS-1154: [WIP] Devops 1154 Aug 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 appears to transition PyPI publishing from token-based uploads inside reusable workflows to an OIDC “trusted publishing” approach by introducing a composite action and removing the direct pypa/gh-action-pypi-publish steps from the reusable workflows.

Changes:

  • Removed the “Publish package to PyPI” step from two reusable workflows that previously published to PyPI/TestPyPI.
  • Added a new composite action (reusable-python-publish_to_pypi) intended to publish distributions to PyPI/TestPyPI via trusted publishing, supporting artifact or release-asset sources.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/reusable-python-release_pypi_assets.yml Removes the PyPI/TestPyPI publish step from the release-asset publishing workflow.
.github/workflows/reusable-python-publish_pypi_package.yml Removes the PyPI/TestPyPI publish step from the package publish workflow.
.github/actions/reusable-python-publish_to_pypi/action.yml Adds a composite action to publish to PyPI/TestPyPI using OIDC trusted publishing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/reusable-python-release_pypi_assets.yml
Comment thread .github/actions/reusable-python-publish_to_pypi/action.yml Outdated
Comment thread .github/workflows/reusable-python-publish_pypi_package.yml
Comment thread .github/actions/reusable-python-download_dist/action.yml Outdated
@github-actions

Copy link
Copy Markdown

⚠️ Force push detected - Previous Copilot review comments may no longer be relevant to the current code. Please resolve any outdated threads and re-request a Copilot review when ready.

@sebhmg sebhmg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

suggestion: have 2 different simpler actions instead of bundling 2 uses-case into one action

Comment thread .github/workflows/reusable-python-release_pypi_assets.yml
Comment thread .github/workflows/reusable-python-publish_pypi_package.yml
Comment thread .github/actions/reusable-python-download_dist/action.yml Outdated
Comment thread .github/actions/reusable-python-download_dist_artifact/action.yml Outdated
Comment thread .github/workflows/reusable-python-publish_pypi_package.yml Outdated
Comment thread .github/workflows/reusable-python-publish_pypi_package.yml Outdated
Comment thread .github/workflows/reusable-python-release_pypi_assets.yml
@github-actions

Copy link
Copy Markdown

⚠️ Force push detected - Previous Copilot review comments may no longer be relevant to the current code. Please resolve any outdated threads and re-request a Copilot review when ready.

@RomFloreani RomFloreani changed the title DEVOPS-1154: [WIP] Devops 1154 Devops 1154: address warnings upon publishing Python packages from GitHub Sep 23, 2026
@RomFloreani
RomFloreani requested a review from sebhmg September 23, 2026 17:20
sebhmg
sebhmg previously approved these changes Sep 23, 2026
- Disable auto build-info publish in setup-jfrog-cli (403 + missing .git warnings)
- Point conda publish/release jobs to DEVOPS-1154 action (setup-jfrog-cli v5.2.0, removes Node 20 warning)
sebhmg
sebhmg previously approved these changes Sep 26, 2026
@RomFloreani
RomFloreani merged commit b2de1e0 into main Sep 28, 2026
15 checks passed
@RomFloreani
RomFloreani deleted the DEVOPS-1154 branch September 28, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants