Skip to content

馃懛 ci: use app token for releases - #1169

Merged
gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:release
Aug 26, 2026
Merged

馃懛 ci: use app token for releases#1169
gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:release

Conversation

@gaborbernat

Copy link
Copy Markdown
Contributor

Removing the PAT owner's admin access broke the pre-release workflow. A personal token ties releases to one maintainer.

Approval may wait for hours. The job mints the one-hour App token after approval and checks out the current main.

An atomic push sends both refs. Admins must add App credentials and grant it bypass access to protected main.

@layday

layday commented Aug 26, 2026

Copy link
Copy Markdown
Member

I don't know enough about the GH parts of this, so I'll defer to your judgment, Bern谩t.

@gaborbernat
gaborbernat merged commit e57e2bf into pypa:main Aug 26, 2026
10 checks passed
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