ci: use PYPI_TOKEN for publishing and fix infinite generate loop #71
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
| # Semantic PR Title Validation | |
| # | |
| # This workflow validates that PR titles follow the Conventional Commits format. | |
| # This is required for the semantic-pr-release-drafter to correctly categorize changes. | |
| # | |
| # Valid formats: | |
| # - feat: Add new feature | |
| # - fix: Fix a bug | |
| # - chore: Maintenance task | |
| # - docs: Documentation changes | |
| # - ci: CI/CD changes | |
| # - refactor: Code refactoring | |
| # - test: Test changes | |
| # - perf: Performance improvements | |
| # - feat!: Breaking change (major version bump) | |
| # | |
| # Optional scope: feat(api): Add new endpoint | |
| name: Validate PR Title | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| permissions: | |
| pull-requests: read | |
| statuses: write | |
| jobs: | |
| validate: | |
| name: Validate Semantic PR Title | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate Semantic PR Title | |
| uses: amannn/action-semantic-pull-request@v6 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| feat | |
| fix | |
| chore | |
| docs | |
| ci | |
| refactor | |
| test | |
| perf | |
| build | |
| revert | |
| requireScope: false | |
| scopes: "" | |
| wip: true | |
| validateSingleCommit: false |