From 70a315d80ee800ca1d6d2ea94ea3b38cc4b82ab6 Mon Sep 17 00:00:00 2001 From: jonpas Date: Thu, 2 Jan 2020 05:13:29 +0100 Subject: [PATCH] Fix Release Drafter replacer (#7348) --- .github/release-drafter.yml | 5 ++++- .github/workflows/release-drafter.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 3de0759dc8..b15af8acfc 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,6 @@ +branches: + - release-drafter # for testing edits to this configuration + name-template: 'Version $NEXT_PATCH_VERSION' tag-template: 'v$NEXT_PATCH_VERSION' @@ -29,5 +32,5 @@ template: | replacers: # Category titles - - search: '\#\# (\*\*(ADDED|FIXED|CHANGED):\*\*)' + - search: '/\#\# (\*\*(ADDED|FIXED|CHANGED):\*\*)/g' replace: '$1' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 67e59d0070..59af4476a2 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -6,7 +6,7 @@ on: - master jobs: - update_release_draft: + draft: runs-on: ubuntu-latest steps: - name: Release Drafter