chore(main): release 0.2.0 #142
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: Update Lockfile on Release PR | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| update-lock: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.BOT_TOKEN }} | |
| ref: ${{ github.head_ref }} | |
| - uses: prefix-dev/setup-pixi@v0.8.1 | |
| with: | |
| pixi-version: latest | |
| run-install: false | |
| - name: Update lockfile | |
| run: pixi update | |
| - name: Commit and push (release PRs only) | |
| if: startsWith(github.head_ref, 'release-please--') | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add pixi.lock | |
| git commit -m "chore: update pixi.lock for version bump" || echo "No changes" | |
| git push |