Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update release drafter
Browse files Browse the repository at this point in the history
alessfg committed Nov 28, 2024

Verified

This commit was signed with the committer’s verified signature.
alessfg Alessandro Fael Garcia
1 parent 60b2c92 commit 94f9f0f
Showing 3 changed files with 80 additions and 47 deletions.
117 changes: 73 additions & 44 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -3,87 +3,116 @@ name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
include-pre-releases: true
categories:
- title: "💣 Breaking Changes"
- title: 💣 Breaking Changes
labels:
- "breaking change"
- title: "🔔 Deprecation Warnings"
- breaking change
- title: 🔔 Deprecation Warnings
labels:
- "deprecation"
- title: "🚀 Features"
- deprecation
- title: 🚀 Features
labels:
- "feature"
- title: "🎉 Enhancements"
- enhancement
- title: 🐛 Bug Fixes
labels:
- "enhancement"
- title: "🐛 Bug Fixes"
- bug
- title: 🧪 Tests
labels:
- "bug"
- title: "🧪 Tests"
- tests
- title: 📝 Documentation
labels:
- "tests"
- title: "📝 Documentation"
- documentation
- title: 👷 CI/CD
labels:
- "documentation"
- title: "⬆️ Dependencies"
- ci
- title: 🔨 Maintenance
labels:
- "dependencies"
- chore
- title: ⬆️ Dependencies
collapse-after: 15
labels:
- dependencies
- title: Other Changes
labels:
- "*"
exclude-labels:
- "skip-changelog"
- skip changelog
version-resolver:
minor:
labels:
- "breaking change"
- "deprecation"
- breaking change
- deprecation
patch:
labels:
- "bug"
- "dependencies"
- "documentation"
- "feature"
- "enhancement"
- bug
- ci
- chore
- dependencies
- documentation
- enhancement
- tests
default: patch
autolabeler:
- label: "breaking change"
- label: breaking change
body:
- "/breaking/i"
- label: "deprecation"
- "/remove/i"
title:
- "/^\\w+!/i"
- "/remove/i"
- label: deprecation
branch:
- "/deprecate\/.+/"
title:
- "/deprecate/i"
- label: "feature"
- label: enhancement
branch:
- "/feat\/.+/"
- "/feature\/.+/"
title:
- "/feat/i"
- "/feature/i"
- label: "enhancement"
branch:
- "/enhancement\/.+/"
title:
- "/enhancement/i"
- label: "bug"
- label: bug
branch:
- "/fix\/.+/"
- "/bug\/.+/"
- "/bugfix\/.+/"
title:
- "/fix/i"
- label: "tests"
- "/bug/i"
- "/bugfix/i"
- label: tests
branch:
- "/molecule\/.+/"
- "/tests{0,1}\/.+/"
files:
- "/tests/**"
title:
- "/molecule/i"
- label: "documentation"
- "/tests{0,1}\/.+/i"
- label: documentation
branch:
- "/docs\/.+/"
- "/docs{0,1}\/.+/"
- "/documentation\/.+/"
files:
- "**/!(changelog).md"
- "docs/**"
title:
- "/docs/i"
- "/docs{0,1}\/.+/i"
- "/documentation/i"
- label: "dependencies"
files:
- ".github/workflows/requirements/*"
- label: ci
branch:
- "/ci\/.+/"
title:
- "/ci/i"
- label: chore
branch:
- "/chore\/.+/"
- "/refactor\/.+/"
- "/style\/.+/"
title:
- "/chore/i"
- "/refactor/i"
- "/style/i"
replacers:
- search: "/(\\w+)(\\(\\w+\\))?!?: /g"
replace: ""
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)!* 👾
@@ -101,5 +130,5 @@ template: |
- Functional configuration examples (check `converge.yml` under each `molecule` scenario) -- [github.com/nginxinc/ansible-role-nginx/tree/$RESOLVED_VERSION/molecule](https://github.com/nginxinc/ansible-role-nginx/tree/$RESOLVED_VERSION/molecule).
- Ansible Galaxy repository -- [galaxy.ansible.com/nginxinc/nginx](https://galaxy.ansible.com/nginxinc/nginx).
- NGINX Ansible role & collection introductory blog -- [nginx.com/blog/announcing-nginx-core-collection-ansible](https://www.nginx.com/blog/announcing-nginx-core-collection-ansible).
- NGINX Ansible role & collection introductory blog -- [f5.com/blog/announcing-nginx-core-collection-ansible](https://www.f5.com/blog/announcing-nginx-core-collection-ansible).
- NGINX: Better with Ansible demo -- [github.com/alessfg/nginx-ansible-demo](https://github.com/alessfg/nginx-ansible-demo).
3 changes: 2 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
"extends": [
"config:recommended"
],
"commitMessageLowerCase": "never",
"labels": [
"dependencies"
],
@@ -56,7 +57,7 @@
},
"github-actions": {
"addLabels": [
"skip-changelog"
"skip changelog"
],
"packageRules": [
{
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -5,16 +5,19 @@ on:
branches: [main]
pull_request_target:
types: [opened, reopened, synchronize]
workflow_dispatch:
permissions: read-all
jobs:
release-draft:
update-release-draft:
name: Update release draft
runs-on: ubuntu-24.04
permissions:
contents: write
pull-requests: write
steps:
- name: Run release drafter
- name: Run Release Drafter
uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 # v6.0.0
with:
disable-autolabeler: ${{ github.actor == 'renovate[bot]' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 94f9f0f

Please sign in to comment.