Skip to content

Conversation

@kevinbackhouse
Copy link
Collaborator

Third attempt at fixing these workflows. (I've closed #51 and #52.)

Copilot AI review requested due to automatic review settings November 5, 2025 20:16
Copy link
Contributor

Copilot AI left a comment

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 refactors the GitHub Actions workflow for publishing to TestPyPI by extracting environment configuration into a reusable workflow. The changes improve workflow modularity and add validation to ensure test releases follow a naming convention.

  • Adds version name validation requiring test releases to start with "test-release-"
  • Refactors environment configuration to use separate environment_name and environment_url parameters
  • Removes duplicate environment configuration from the caller workflow

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/publish-to-testpypi.yaml Updated to use reusable workflow with version validation and refactored environment parameters
.github/workflows/publish-reusable.yml Added environment_url input parameter and restructured environment configuration block

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kevinbackhouse kevinbackhouse merged commit fa46962 into GitHubSecurityLab:main Nov 6, 2025
9 checks passed
@kevinbackhouse kevinbackhouse deleted the fix-publish-workflow-v2 branch November 6, 2025 10:47
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