diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 27bcee3f..eb4ddddc 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,11 @@ +change-template: "- #$NUMBER $TITLE @$AUTHOR" +sort-direction: ascending + +categories: + - title: "Dependency Updates" + label: "dependencies" + collapse-after: 1 + template: | ## What’s Changed diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 1a2d27ec..774f24e5 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -2,18 +2,23 @@ name: Release Drafter on: push: - branches: ["main"] + branches: + - main + +permissions: {} jobs: update_release_draft: runs-on: ubuntu-latest + permissions: + contents: write steps: - id: version run: | version=$(date --utc '+%Y%m%d%H%M%S') - echo "::set-output name=version::$version" + echo "version=$version" >> $GITHUB_OUTPUT - - uses: release-drafter/release-drafter@v6 + - uses: release-drafter/release-drafter@v6.0.0 with: tag: ${{ steps.version.outputs.version }} name: ${{ steps.version.outputs.version }}