Release pytest-strawberry 0.1.0 #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 🆙 Release file check | |
| on: | |
| # zizmor: ignore[dangerous-triggers] AutoPub must report missing release files | |
| # on fork PRs. Sparse checkout limits untrusted PR content to data files. | |
| pull_request_target: | |
| types: [synchronize, reopened, opened, ready_for_review] | |
| branches: [main] | |
| paths: | |
| - "RELEASE.md" | |
| - "pytest_strawberry/**" | |
| - "pyproject.toml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-release: | |
| name: Release check | |
| if: github.event.pull_request.user.type != 'Bot' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| ref: "refs/pull/${{ github.event.number }}/merge" | |
| allow-unsafe-pr-checkout: true | |
| persist-credentials: false | |
| sparse-checkout: | | |
| RELEASE.md | |
| pyproject.toml | |
| sparse-checkout-cone-mode: false | |
| - name: Check for release | |
| uses: autopub/autopub-action@5fdc82e84c048a82303de6b5c5a9d027665e73cf # v1.1.1 | |
| with: | |
| command: check | |
| autopub-version: "1.0.0a61" | |
| fail-on-missing: "true" |