chore(dev): update dev dependencies (non-major) (#406) #4
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 PR | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - test/master | |
| workflow_dispatch: | |
| inputs: | |
| test_mode: | |
| description: 'Enable test mode (use test/* branches, skip PyPI publishing)' | |
| required: false | |
| default: 'false' | |
| type: choice | |
| options: | |
| - 'false' | |
| - 'true' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| concurrency: | |
| group: release-pr | |
| env: | |
| MISE_ENV: ci | |
| DRY_RUN: ${{ !(github.ref == 'refs/heads/test/master' || github.event.inputs.test_mode == 'true') }} | |
| TEST_MODE: ${{ github.ref == 'refs/heads/test/master' || github.event.inputs.test_mode == 'true' }} | |
| jobs: | |
| release-pr: | |
| name: Create or update release PR | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.14' | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1.4 | |
| with: | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| virtualenvs-path: .venv | |
| - name: Setup git config | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Install tools | |
| uses: jdx/mise-action@v2 | |
| with: | |
| install_args: "cargo-binstall cargo:git-cliff" | |
| experimental: true | |
| - name: Create or update release PR | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| mise run release-pr |