diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 3a643d506d..698e6fa1a8 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,8 +1,9 @@ version-template: '$MAJOR.$MINOR.$PATCH.0' -name-template: 'v$NEXT_PATCH_VERSION 🌈' +name-template: 'v$NEXT_PATCH_VERSION' tag-template: 'v$NEXT_PATCH_VERSION' exclude-labels: - 'skip-changelog' + - 'automated-pull-request' categories: - title: '🚀 Features' labels: @@ -15,7 +16,7 @@ categories: - 'bug' - title: '🧰 Maintenance' label: 'chore' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-template: '* $TITLE (#$NUMBER) @$AUTHOR' template: | Thanks to: $CONTRIBUTORS diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9a5991ea50..171230c2b1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -55,4 +55,13 @@ jobs: - name: Assembling run: ./gradlew assemble --console=plain - name: Checking code conventions - run: ./gradlew checkstyleMain --console=plain \ No newline at end of file + run: ./gradlew checkstyleMain --console=plain + + update_draft_release: + name: Draft release + runs-on: ubuntu-latest + + steps: + - uses: toolmantim/release-drafter@v5.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index c55293c911..0000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: OpenOSRS - Release drafter - -on: - push: - branches: - - master - -jobs: - update_draft_release: - runs-on: ubuntu-latest - - steps: - - uses: toolmantim/release-drafter@v5.2.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file