|
20 | 20 | runs-on: ubuntu-latest |
21 | 21 | permissions: |
22 | 22 | contents: write |
| 23 | + pull-requests: write |
23 | 24 | steps: |
24 | 25 | - name: Checkout code |
25 | 26 | uses: actions/checkout@v5 |
|
49 | 50 | tag: v${{ steps.get-version.outputs.VERSION }} |
50 | 51 | version: ${{ steps.get-version.outputs.VERSION }} |
51 | 52 |
|
52 | | - - name: Commit version prepare |
53 | | - uses: stefanzweifel/git-auto-commit-action@v6 |
| 53 | + - name: Create PR to review automated changes |
| 54 | + uses: peter-evans/create-pull-request@v7 |
54 | 55 | if: ${{ !env.ACT }} |
55 | 56 | with: |
56 | | - commit_message: 'Prepare for v${{ steps.get-version.outputs.VERSION }} release' |
57 | | - file_pattern: '*.md *.toml *.lock' |
| 57 | + commit-message: 'Preparations for v${{ steps.get-version.outputs.VERSION }}' |
| 58 | + title: "Preparations for v${{ steps.get-version.outputs.VERSION }}" |
| 59 | + branch: "prepare-release/v${{ steps.get-version.outputs.VERSION }}" |
| 60 | + assignees: ${{ github.actor }} |
| 61 | + body: | |
| 62 | + This PR prepares for the next ${{ github.event.inputs.versionBump }} release v${{ steps.get-version.outputs.VERSION }}. |
| 63 | +
|
| 64 | + **Files that should be automatically modified:** |
| 65 | + - `Cargo.toml` (version bump) |
| 66 | + - `<crate>/Cargo.toml` (version bump) |
| 67 | + > for patch versions only the necessary crates will receive an update |
| 68 | + - `Cargo.lock` (only bumps own crate versions) |
| 69 | + - `CHANGELOG.md` (finalize changelog for upcoming version) |
| 70 | + |
| 71 | + **Review checklist:** |
| 72 | + - [ ] Confirm the version bump in `Cargo.toml` is correct |
| 73 | + - [ ] Ensure `Cargo.lock` did only update our crates |
| 74 | + - [ ] Review the changelog for accuracy and completeness |
| 75 | + |
| 76 | + Please verify these changes before merging. |
| 77 | + |
| 78 | + --- |
| 79 | + After merging, continue by creating a new release with the tag `v${{ steps.get-version.outputs.VERSION }}`. |
| 80 | +
|
| 81 | + > See [PUBLISHING.md](https://github.com/librespot-org/librespot/blob/dev/PUBLISHING.md) for further infos. |
0 commit comments