Skip to content

Commit aaad41c

Browse files
committed
fixup
1 parent 5499e8d commit aaad41c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/create-release-pr.yml .github/workflows/bump-version.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create release PR
1+
name: Bump version for release
22

33
on:
44
pull_request:
@@ -16,7 +16,7 @@ on:
1616
- patch
1717

1818
jobs:
19-
create-release-pr:
19+
bump-version:
2020
permissions:
2121
id-token: write
2222
pull-requests: write
@@ -30,8 +30,6 @@ jobs:
3030
- name: Configure gitsign
3131
uses: chainguard-dev/actions/setup-gitsign@main
3232

33-
pull-requests: write
34-
contents: write
3533
- name: Install `cargo-release`
3634
uses: taiki-e/install-action@v1
3735
with:
@@ -55,6 +53,7 @@ jobs:
5553
- name: Extract version
5654
run: |
5755
echo "version=$(cargo pkgid -p bindgen | cut -d '#' -f 2)" >> $GITHUB_ENV
56+
5857
- name: Update changelog
5958
run: |
6059
sd "# Unreleased" "# Unreleased\n## Added\n## Changed\n## Removed\n## Fixed\n## Security\n\n# ${{ env.version }} ($(date -I))" CHANGELOG.md
@@ -64,7 +63,7 @@ jobs:
6463
uses: peter-evans/create-pull-request@v5
6564
with:
6665
token: ${{ secrets.GITHUB_TOKEN }}
67-
branch: release/${{ env.version }}
66+
branch: pre-release/${{ env.version }}
6867
base: main
6968
commit-message: "Bump crates version to ${{ env.version }}"
7069
title: "Bump crates version to ${{ env.version }}"

0 commit comments

Comments
 (0)