diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 1c90a58..0da4599 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -5,10 +5,12 @@ on: branches: [main] paths: - 'pyproject.toml' # Only run when this file changes + workflow_dispatch: jobs: check-and-publish: runs-on: ubuntu-latest + environment: release permissions: contents: write # Required to create GitHub Releases id-token: write # Required for PyPI Trusted Publishing