Skip to content

Add workflow dependencies and fix attestation conflict#3

Merged
MrTravisB merged 1 commit intomainfrom
travis/trusted-pub
Nov 12, 2025
Merged

Add workflow dependencies and fix attestation conflict#3
MrTravisB merged 1 commit intomainfrom
travis/trusted-pub

Conversation

@MrTravisB
Copy link
Copy Markdown
Collaborator

Summary

Adds lint and test workflow dependencies to the publish workflow and fixes attestation generation conflict between TestPyPI and PyPI publishes.

Changes

  • Added lint and test jobs that run before publishing
  • Publish job now requires both lint and test to pass via needs: [lint, test]
  • Disabled attestations for TestPyPI publish to prevent conflicts
  • PyPI publish still generates attestations for production packages

Benefits

  • Quality gates: Ensures code passes linting and tests before publishing
  • Prevents bad releases: Won't publish packages that fail quality checks
  • Fixes attestation error: Resolves "already have publish attestations" error
  • Maintains security: Production PyPI packages still get attestations

Testing

The attestation conflict has been resolved by disabling attestations for the TestPyPI step while keeping them enabled for the production PyPI publish.

🤖 Generated with Claude Code

@MrTravisB MrTravisB merged commit fdd6c53 into main Nov 12, 2025
6 checks passed
@MrTravisB MrTravisB deleted the travis/trusted-pub branch November 12, 2025 21:48
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.

1 participant