Skip to content

Commit 97f7beb

Browse files
committed
release actions fixes
1 parent feed0e8 commit 97f7beb

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/cliff.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ commit_parsers = [
7878
{ message = "^refmanual", group = "<!-- 3 -->Documentation" },
7979
{ message = "^perf", group = "<!-- 4 -->Performance" },
8080
{ message = "^chore:\\s+new release\\s*$", skip = true },
81+
{ message = "^chore(release)$", skip = true },
8182
{ message = ".*", group = "<!-- 5 -->Under the hood" },
8283
]
8384
# Exclude commits that are not matched by any commit parser.

.github/workflows/prepare-release-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
prepare-release-pr:
14+
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
1415
runs-on: ubuntu-latest
1516
steps:
1617
- name: Check out sources
@@ -67,8 +68,8 @@ jobs:
6768
with:
6869
branch: release/next
6970
delete-branch: true
70-
commit-message: 'chore(release): v${{ steps.version.outputs.version }}'
71-
title: 'Release v${{ steps.version.outputs.version }}'
71+
commit-message: "chore(release): v${{ steps.version.outputs.version }}"
72+
title: "Release v${{ steps.version.outputs.version }}"
7273
body: >
7374
This PR was created by the [prepare-release-pr](/${{ github.repository }}/blob/main/.github/workflows/prepare-release-pr.yml)
7475
GitHub action. When you're ready to release, simply merge it — the corresponding GitHub release will be

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
make 64tass \
2929
python3 python3-pip
3030
31+
- name: Install git-cliff
32+
run: pip install git-cliff
33+
3134
- name: Read the release version
3235
id: read_version
3336
run: |

0 commit comments

Comments
 (0)