Merge pull request #18 from modern-python/docs/bump-cli-version-pins #15
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: semvertag | |
| # Dogfood the local composite action against this repo. Auto-tags on | |
| # push to main when the latest commit is a merge from `feat/...` (minor | |
| # bump) or `bugfix/`/`hotfix/...` (patch). This repo's branch | |
| # convention uses `feat/...`, so SEMVERTAG_BRANCH_PREFIX__MINOR | |
| # overrides the default `feature/` mapping. | |
| # | |
| # The workflow only creates a tag — it does NOT trigger publish.yml, | |
| # which fires on GitHub release creation. To publish to PyPI, create a | |
| # GitHub release pointed at the auto-tagged commit. | |
| # | |
| # `uses: ./` exercises the action.yml in the current checkout, so any | |
| # breaking change to action.yml fails the dogfood run before it can | |
| # affect external users. | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: semvertag | |
| cancel-in-progress: false | |
| jobs: | |
| tag: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: ./ | |
| env: | |
| SEMVERTAG_BRANCH_PREFIX__MINOR: '["feat/"]' |