Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release-drafter, dependabot, OCD polishing #2

Merged
merged 3 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

updates:
- package-ecosystem: "maven"
directory: "/"
labels:
- "type: dependency-upgrade"
schedule:
interval: "weekly"
43 changes: 43 additions & 0 deletions .github/release-drafter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name-template: '$NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
filter-by-commitish: true

autolabeler:
- label: 'type: documentation'
files:
- '*.md'
- '.github/*'
- label: 'type: task'
files:
- '.github/*'
- label: 'type: dependency-upgrade'
files:
- 'pom.xml'

categories:
- title: '🔥 Breaking Changes'
labels:
- 'breakingchange'
- 'type: breaking'
- title: '🚀 New Features'
labels:
- 'type: enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'type: bug'
- title: '🧰 Maintenance'
labels:
- 'type: documentation'
- 'type: dependency-upgrade'
- 'type: task'

change-template: '- $TITLE (#$NUMBER)'
exclude-labels:
- 'skip-changelog'

template: |
# Changes
$CHANGES
## Contributors
We'd like to thank all the contributors who worked on this release!
$CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL analysis"
name: CodeQL analysis

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI / CD Pipeline
name: Continuous Integration
on:
push:
paths-ignore:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- '[0-9].*'
# pull_request event is required only for autolabeler
pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
config-name: release-drafter-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Spellcheck Action
name: Spellcheck
on:
pull_request:
jobs:
Expand Down
Loading