From bb2f55e970def71c7260483a52882f58108d9ab5 Mon Sep 17 00:00:00 2001 From: Alessandro Fael Garcia Date: Wed, 28 Apr 2021 15:59:11 +0200 Subject: [PATCH] Minor Release Drafter tweaks (#393) --- .github/release-drafter.yml | 66 ++++++++++++++++++--------- .github/workflows/release-drafter.yml | 3 -- 2 files changed, 44 insertions(+), 25 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index d722f6d..dcb9790 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -2,28 +2,32 @@ name-template: "$RESOLVED_VERSION" tag-template: "$RESOLVED_VERSION" categories: - - title: "💣 Breaking Change" + - title: "💣 Breaking Changes" labels: - "breaking change" - - title: "🐛 Bug Fixes" + - title: "🔔 Deprecation Warnings" labels: - - "bug" - - title: "⬆️ Dependencies" - labels: - - "dependencies" - - title: "📝 Documentation" - labels: - - "documentation" + - "deprecation" - title: "🚀 Features" labels: - "feature" - title: "🎉 Enhancements" labels: - "enhancement" + - title: "🐛 Bug Fixes" + labels: + - "bug" + - title: "📝 Documentation" + labels: + - "documentation" + - title: "⬆️ Dependencies" + labels: + - "dependencies" version-resolver: minor: labels: - "breaking change" + - "deprecation" patch: labels: - "bug" @@ -33,34 +37,52 @@ version-resolver: - "enhancement" default: patch autolabeler: - - label: "documentation" + - label: "breaking change" + body: + - "/breaking/i" + - label: "deprecation" branch: - - "/docs\/.+/" - files: - - "*.md" + - "/deprecate\/.+/" + title: + - "/deprecate/i" + - label: "feature" + branch: + - "/feat\/.+/" + - "/feature\/.+/" + - "/implement\/.+/" + title: + - "/feat/i" + - "/feature/i" + - "/implement/i" + - label: "enhancement" + branch: + - "/add\/.+/" + - "/enhancement\/.+/" + title: + - "/add/i" + - "/enhancement/i" - label: "bug" branch: - "/fix\/.+/" title: - "/fix/i" - - label: "feature" + - label: "documentation" branch: - - "/feat\/.+/" - - "/implement\/.+/" + - "/docs\/.+/" + files: + - "*.md" title: - - "/implement/i" - - label: "enhancement" - branch: - - "/add\/.+/" - title: - - "/add/i" + - "/docs/i" + - "/documentation/i" - label: "dependencies" files: - ".github/workflows/requirements/*" branch: - "/bump\/.+/" + - "/update\/.+/" title: - "/bump/i" + - "/update/i" template: | 👾 *Help make the NGINX Ansible role better by participating in our [survey](https://forms.office.com/Pages/ResponsePage.aspx?id=L_093Ttq0UCb4L-DJ9gcUKLQ7uTJaE1PitM_37KR881UM0NCWkY5UlE5MUYyWU1aTUcxV0NRUllJSC4u)!* 👾 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 6208f3c..18c00d9 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -6,9 +6,6 @@ on: - opened - reopened - synchronize - push: - branches: - - main jobs: update_release_draft: name: Update release draft