From 89f1cc433c0aca910be5a5b5bd1be837dab5f299 Mon Sep 17 00:00:00 2001 From: Reguel Wermelinger Date: Fri, 8 Nov 2024 13:12:21 +0100 Subject: [PATCH] Add 'commitish' flags to release-drafter --- .github/release-drafter.yml | 2 ++ .github/workflows/release-drafter.yml | 13 +++---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 333c631..f663a89 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,7 @@ name-template: 'v$RESOLVED_VERSION ๐Ÿงช' tag-template: 'v$RESOLVED_VERSION' +filter-by-commitish: false +commitish: master categories: - title: '๐Ÿš€ Features' labels: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 84492e3..518ecac 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -26,16 +26,9 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - # (Optional) GitHub Enterprise requires GHE_HOST variable set - #- name: Set GHE_HOST - # run: | - # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV - - # Drafts your next Release notes as Pull Requests are merged into "master" - uses: release-drafter/release-drafter@v6 - # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml - # with: - # config-name: my-config.yml - # disable-autolabeler: true + with: + # reference to template from 'master' + config-name: release-drafter.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}