Skip to content

Add dry-run option and twine check --strict option #64

Answered by webknjaz
mayeut asked this question in Ideas
Discussion options

You must be logged in to vote

Add a dry_run option to allow running the action even from pull_request events (where secrets are not defined)

That's an interesting suggestion but I'm worried about the feature creep. The main purpose of this action is to publish stuff and the pre-check is a small addition. A dry run would shift that goal, I think.

Add a verify_metadata_strict option to run twine check --strict instead of just twine check

This one is probably more reasonable for us. I'd probably accept such a PR. OTOH it sounds like it'd be a good default just to have it strict unconditionally.

Given that gh-action-pypi-publish was already included in the new workflow, it seemed quite a duplicate effort to add yet a…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@mayeut
Comment options

@webknjaz
Comment options

@webknjaz
Comment options

Answer selected by webknjaz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants