Skip to content

Publish to test.pypi.org; Reduce permission scope of release action #1154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

seifertm
Copy link
Contributor

This PR adds a job that publishes release artifacts to test.pypi.org when merging to main.

It also moves the step for creating a GitHub release into the job that assembles the release notes. This allows removing the id-token: write permission from the GitHub release action and adds the missing contents: write permission.

Fixes #1127

@seifertm seifertm requested review from asvetlov and Tinche as code owners June 25, 2025 18:11
@seifertm seifertm changed the title Release to test.pypi.org; Reduce permission scope of release action Publish to test.pypi.org; Reduce permission scope of release action Jun 25, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.01%. Comparing base (f9c5d67) to head (028fc9a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1154   +/-   ##
=======================================
  Coverage   89.01%   89.01%           
=======================================
  Files           2        2           
  Lines         428      428           
  Branches       51       51           
=======================================
  Hits          381      381           
  Misses         33       33           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Missing read permission in ncipollo/release-action
2 participants