Skip to content

Commit

Permalink
Bake skip-changelog label into ci (#119)
Browse files Browse the repository at this point in the history
* Bake skip-changelog label into ci

* Enhance label descriptions

---------

Co-authored-by: tb1337 <[email protected]>
  • Loading branch information
tb1337 and tb1337 authored Mar 6, 2024
1 parent 9cc86a7 commit f3d5893
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
interval: weekly
labels:
- dependencies
- auto
- no-stale
- skip-changelog
- package-ecosystem: "pip"
directory: "/"
schedule:
Expand Down
5 changes: 4 additions & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
description: "Generic maintenance tasks."
- name: "ci"
color: 1d76db
description: "Work that improves the continue integration."
description: "Work that improves the continuous integration."
- name: "dependencies"
color: 1d76db
description: "Upgrade or downgrade of project dependencies."
Expand Down Expand Up @@ -79,3 +79,6 @@
- name: "minor"
color: 0e8a16
description: "This PR causes a minor version bump in the version number."
- name: "skip-changelog"
color: bfdadc
description: "This PR causes no version bump and won't be displayed in the changelog."
61 changes: 32 additions & 29 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,54 @@
---
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
name-template: "v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.

exclude-labels:
- "skip-changelog"

categories:
- title: '🚨 Breaking changes'
- title: "🚨 Breaking changes"
labels:
- 'breaking-change'
- title: '✨ New features'
- "breaking-change"
- title: "✨ New features"
labels:
- 'new-feature'
- title: '🐛 Bug Fixes'
- "new-feature"
- title: "🐛 Bug Fixes"
labels:
- 'bugfix'
- title: '🚀 Enhancements'
- "bugfix"
- title: "🚀 Enhancements"
labels:
- 'enhancement'
- 'refactor'
- 'performance'
- title: '🧰 Maintenance'
- "enhancement"
- "refactor"
- "performance"
- title: "🧰 Maintenance"
labels:
- 'maintenance'
- 'ci'
- title: '📚 Documentation'
- "maintenance"
- "ci"
- title: "📚 Documentation"
labels:
- 'documentation'
- title: '⬆️ Dependency updates'
- "documentation"
- title: "⬆️ Dependency updates"
labels:
- 'dependencies'
- "dependencies"

version-resolver:
major:
labels:
- 'major'
- 'breaking-change'
- "major"
- "breaking-change"
minor:
labels:
- 'minor'
- 'new-feature'
- "minor"
- "new-feature"
patch:
labels:
- 'bugfix'
- 'dependencies'
- 'enhancement'
- 'performance'
- 'refactor'
- "bugfix"
- "dependencies"
- "enhancement"
- "performance"
- "refactor"
default: patch

template: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
body: |
Update versions of tools in pre-commit
configs to latest version
labels: dependencies, auto, no-stale
labels: dependencies, auto, no-stale, skip-changelog

0 comments on commit f3d5893

Please sign in to comment.