Skip to content

ci(release): adopt the verified release flow (#99) #1

ci(release): adopt the verified release flow (#99)

ci(release): adopt the verified release flow (#99) #1

name: Publish dev build to Test PyPI
# The continuous dev feed: every push to main lands on Test PyPI as a `.devN`
# build. Separate from the release flow, which publishes the tagged version to
# Test PyPI and then PyPI -- both use skip-existing, so they cannot collide.
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
name: Reuse build
uses: ./.github/workflows/build.yml
permissions:
contents: read
publish-to-test-pypi:

Check failure on line 23 in .github/workflows/publish-dev-to-testpypi.yml

View workflow run for this annotation

GitHub Actions / Publish dev build to Test PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/publish-dev-to-testpypi.yml (Line: 23, Col: 3): Error calling workflow 'reqstool/.github/.github/workflows/python-publish-to-pypi.yml@main'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
needs: build
uses: reqstool/.github/.github/workflows/python-publish-to-pypi.yml@main
permissions:
id-token: write
with:
target: testpypi