Skip to content

chore: switch to OIDC trusted publishing and harden workflows#119

Open
decofe wants to merge 3 commits intomainfrom
georgen/ci-hardening
Open

chore: switch to OIDC trusted publishing and harden workflows#119
decofe wants to merge 3 commits intomainfrom
georgen/ci-hardening

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented Apr 14, 2026

  • Add permissions: {} to publish.yml and changelog.yml
  • Replace PYPI_TOKEN with OIDC trusted publishing via pypa/gh-action-pypi-publish
  • Split publish into dedicated job with id-token: write and environment: release

Prompted by: georgen

@decofe decofe changed the title chore: add top-level permissions to workflows chore: switch to OIDC trusted publishing and harden workflows Apr 14, 2026
@decofe decofe changed the base branch from main to georgen/fix-pyright-key-auth April 14, 2026 07:54
@decofe decofe force-pushed the georgen/ci-hardening branch from bc0ab97 to 8ea75ad Compare April 14, 2026 08:00
@decofe decofe changed the base branch from georgen/fix-pyright-key-auth to main April 14, 2026 15:26
decofe and others added 3 commits April 14, 2026 15:26
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
- Split publish from changelogs into dedicated job using pypa/gh-action-pypi-publish
- Remove PYPI_TOKEN dependency in favor of OIDC id-token
- Add permissions: {} to publish.yml and changelog.yml

Co-Authored-By: grandizzy <38490174+grandizzy@users.noreply.github.com>
@decofe decofe force-pushed the georgen/ci-hardening branch from 8ea75ad to 204f8bd Compare April 14, 2026 15:26
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