From cb9b387b6c142a57c37fa6edc17515494f5fa81f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 23 Feb 2022 07:04:50 +1000 Subject: [PATCH 1/3] Enable release drafter --- .github/release-drafter.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..e4262a51 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +_extends: maven-gh-actions-shared +tag-template: maven-site-plugin-$NEXT_MINOR_VERSION From 68d79972a98490c46bcf2484726a283a4e1e2e04 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 23 Feb 2022 07:05:49 +1000 Subject: [PATCH 2/3] Create release-drafter.yml --- .github/workflows/release-drafter.yml | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..7bda9029 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,31 @@ + + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: Release Drafter +on: + push: + branches: + - master +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5.18.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 4e2c92de441ffa7ae6b0bfb30028160cacd10b8b Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 23 Feb 2022 12:59:50 +1000 Subject: [PATCH 3/3] use shared release-drafter.yml --- .github/workflows/release-drafter.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 7bda9029..8f5959c9 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -23,9 +23,5 @@ on: branches: - master jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - - uses: release-drafter/release-drafter@v5.18.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + update_release_draft: + uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v2