Skip to content

DEVOPS-1154: address warnings upon publishing Python packages from GitHub - #166

Merged
RomFloreani merged 5 commits into
developfrom
DEVOPS-1154
Sep 29, 2026
Merged

RomFloreani merged 5 commits into
developfrom
DEVOPS-1154

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Aug 11, 2026 •

Copy link
Copy Markdown

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

Copilot AI lite review requested due to automatic review settings August 11, 2026 13:30
@github-actions github-actions Bot changed the title Devops 1154 DEVOPS-1154: address warnings upon publishing Python packages from GitHub Aug 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates GitHub Actions workflows to address warnings when publishing Python packages from GitHub, shifting PyPI/TestPyPI publishing to OIDC trusted publishing (run in-repo) and aligning workflow calls to updated CI-tools implementations.

Changes:

  • Switch PyPI/TestPyPI publishing to an in-workflow job that uses a composite action for OIDC trusted publishing.
  • Remove reliance on PYPI_TOKEN / TEST_PYPI_TOKEN secrets for publishing.
  • Update multiple reusable workflow uses: references to CI-tools DEVOPS-1154.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/security_scan.yml Updates CI-tools reusable workflow refs for Zizmor scanning jobs.
.github/workflows/python_deploy_prod.yml Adds a dedicated in-repo PyPI publish job (OIDC) and updates CI-tools workflow refs.
.github/workflows/python_deploy_dev.yml Adds a dedicated in-repo TestPyPI publish job (OIDC) and updates CI-tools workflow refs.
.github/workflows/pr_jira_actions.yml Updates CI-tools reusable workflow ref for PR→Jira automation.
.github/workflows/issue_to_jira.yml Updates CI-tools reusable workflow ref for issue→Jira automation.
Suppressed comments (5)

.github/workflows/security_scan.yml:45

  • Using a moving branch ref (@DEVOPS-1154) for a reusable workflow makes the CI supply chain mutable (the branch can be force-pushed/deleted) and can break reproducibility/auditing. Prefer pinning to an immutable commit SHA (or a released tag once available).
    uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-annotate.yml@DEVOPS-1154

.github/workflows/python_deploy_prod.yml:44

  • Using a moving branch ref (@DEVOPS-1154) for a reusable workflow makes the CI supply chain mutable (the branch can be force-pushed/deleted) and can break reproducibility/auditing. Prefer pinning to an immutable commit SHA (or a released tag once available).
    uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@DEVOPS-1154

.github/workflows/python_deploy_prod.yml:69

  • Using a moving branch ref (@DEVOPS-1154) for the composite action makes the publish step mutable and harder to audit. Prefer pinning to an immutable commit SHA (or a released tag once the CI-tools changes are released).
        uses: MiraGeoscience/CI-tools/.github/actions/reusable-python-publish_to_pypi@DEVOPS-1154

.github/workflows/python_deploy_dev.yml:32

  • Using a moving branch ref (@DEVOPS-1154) for a reusable workflow makes the CI supply chain mutable (the branch can be force-pushed/deleted) and can break reproducibility/auditing. Prefer pinning to an immutable commit SHA (or a released tag once available).
    uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@DEVOPS-1154

.github/workflows/python_deploy_dev.yml:59

  • Using a moving branch ref (@DEVOPS-1154) for the composite action makes the publish step mutable and harder to audit. Prefer pinning to an immutable commit SHA (or a released tag once the CI-tools changes are released).
        uses: MiraGeoscience/CI-tools/.github/actions/reusable-python-publish_to_pypi@DEVOPS-1154

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

Comment thread .github/workflows/security_scan.yml Outdated
Comment thread .github/workflows/python_deploy_prod.yml Outdated
Comment thread .github/workflows/python_deploy_dev.yml Outdated
Comment thread .github/workflows/pr_jira_actions.yml Outdated
Comment thread .github/workflows/issue_to_jira.yml Outdated
@RomFloreani
RomFloreani requested a review from sebhmg August 24, 2026 13:39
Comment thread .github/workflows/python_deploy_dev.yml Outdated

@sebhmg sebhmg left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

use shorter comment to explain about not using reusable worklfow for pypi publish

Comment thread .github/workflows/python_deploy_dev.yml Outdated
Comment thread .github/workflows/python_deploy_prod.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.

@RomFloreani
RomFloreani requested a review from sebhmg September 23, 2026 17:20
sebhmg
sebhmg previously approved these changes Sep 23, 2026
sebhmg
sebhmg previously approved these changes Sep 26, 2026
@RomFloreani
RomFloreani merged commit 3e70e22 into develop Sep 29, 2026
16 checks passed
@RomFloreani
RomFloreani deleted the DEVOPS-1154 branch September 29, 2026 13:15
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