Skip to content

Conversation

@kevinbackhouse
Copy link
Collaborator

I thought I got this working in #53, but it turns out that you can't do trusted publishing from a reusable workflow. So unfortunately, there will be some code duplication when I add the publish-to-pypi.yaml workflow.

Screenshot from 2025-11-06 10-51-21

Copilot AI review requested due to automatic review settings November 6, 2025 12:17
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 TestPyPI publishing workflow by inlining the reusable workflow logic directly into the publish-to-testpypi.yaml file and removing the now-unused publish-reusable.yml workflow.

Key changes:

  • Removed the reusable workflow file that was previously used for publishing
  • Inlined all publish steps directly into the TestPyPI workflow
  • Changed from manual version input to auto-generated timestamped test release names

Reviewed Changes

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

File Description
.github/workflows/publish-to-testpypi.yaml Converted from calling a reusable workflow to containing inline publish steps with auto-generated test release names
.github/workflows/publish-reusable.yml Deleted the reusable workflow file that is no longer needed

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

@kevinbackhouse kevinbackhouse merged commit fb83550 into GitHubSecurityLab:main Nov 6, 2025
9 checks passed
@kevinbackhouse kevinbackhouse deleted the remove-reusable-workflow branch November 6, 2025 13:59
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.

2 participants