chore(deps): bump the python-deps group with 2 updates (#72) #58
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| # Only run on squash-merge commits, skip release commits from this workflow | |
| if: "!startsWith(github.event.head_commit.message, 'chore(release):')" | |
| concurrency: | |
| group: release | |
| cancel-in-progress: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| token: ${{ secrets.RELEASE_PAT }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install python-semantic-release | |
| run: uv pip install python-semantic-release --system | |
| - name: Semantic Release | |
| env: | |
| GH_TOKEN: ${{ secrets.RELEASE_PAT }} | |
| run: semantic-release version --changelog --push --tag --vcs-release |