diff --git a/.editorconfig b/.editorconfig index f02d2801a..d70a9b032 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,8 @@ [*.{java,html}] charset = utf-8 -indent_style = tab +indent_style = space indent_size = 4 trim_trailing_whitespace = true + +[*.{yml, yaml}] +indent_size = 2 diff --git a/.github/release-drafter-master.yml b/.github/release-drafter-master.yml new file mode 100644 index 000000000..9de943152 --- /dev/null +++ b/.github/release-drafter-master.yml @@ -0,0 +1,29 @@ +name-template: $NEXT_MINOR_VERSION +tag-template: $NEXT_MINOR_VERSION +filter-by-commitish: true +commitish: master +template: | + ## What's Changed + + $CHANGES +categories: + - title: '๐Ÿ’ฅ Breaking API Changes' + label: 'kind/breaking' + - title: '๐Ÿš€ Features & Enhancements' + labels: + - 'kind/enhancement' + - 'kind/feature' + - title: '๐Ÿ› Bug Fixes' + label: 'kind/bug' + - title: '๐Ÿงน Refactor' + label: 'kind/refactor' + - title: '๐Ÿ“ Documentation' + label: 'kind/documentation' + - title: '๐Ÿ“ฆ Dependency Updates' + label: 'kind/dependencies' + collapse-after: 5 +change-template: '* (#$NUMBER) $TITLE by @$AUTHOR' +exclude-labels: + - 'kind/question' + - 'kind/wontfix' + - 'meta/skip-changelog' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d783d316e..28c77817c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,12 +14,12 @@ jobs: java: [ 8, 11, 17 ] steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v3.1.0 with: fetch-depth: 0 - name: Setup Java ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v3.5.1 with: distribution: temurin java-version: ${{ matrix.java }} diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..42bd03459 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,21 @@ +name: Release Drafter + +on: + push: + branches: + - master + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + contents: write # for release-drafter to create a GitHub release + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5.21.0 + with: + config-name: release-drafter-master.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}