mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01:00
set up release-drafter (#1503)
see https://github.com/marketplace/actions/release-drafter#configuration for description of the config options
This commit is contained in:
parent
ca93ae1653
commit
be215c5ab7
2 changed files with 74 additions and 0 deletions
51
.github/release-drafter.yml
vendored
Normal file
51
.github/release-drafter.yml
vendored
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
name-template: 'v$RESOLVED_VERSION'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
categories:
|
||||
- title: 'New Presets'
|
||||
labels:
|
||||
- 'new-preset'
|
||||
- title: 'New and Changed Fields'
|
||||
labels:
|
||||
- 'field'
|
||||
- 'new-field'
|
||||
- 'new-value'
|
||||
- title: 'Changed Presets'
|
||||
labels:
|
||||
- 'add-field'
|
||||
- 'new-icon'
|
||||
- 'new-label'
|
||||
- title: 'Regional Presets and Fields'
|
||||
labels:
|
||||
- 'regional'
|
||||
- title: 'Deprecated Tags'
|
||||
labels:
|
||||
- 'deprecating'
|
||||
- title: 'Bug Fixes'
|
||||
labels:
|
||||
- 'bug'
|
||||
- title: 'Documentation and Other Changes'
|
||||
label: 'ci'
|
||||
label: 'github-actions'
|
||||
label: 'documentation'
|
||||
label: 'new-category'
|
||||
label: 'javascript'
|
||||
label: 'schema-builder'
|
||||
label: 'schema'
|
||||
- title: 'Dependencies'
|
||||
collapse-after: 3
|
||||
labels:
|
||||
- 'dependencies'
|
||||
change-template: '* $TITLE (#$NUMBER, thanks @$AUTHOR)'
|
||||
change-title-escapes: '\<*_&'
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'breaking'
|
||||
minor:
|
||||
labels:
|
||||
- 'enhancement'
|
||||
patch:
|
||||
labels:
|
||||
- 'bug'
|
||||
default: minor
|
||||
template: $CHANGES
|
||||
23
.github/workflows/release-drafter.yml
vendored
Normal file
23
.github/workflows/release-drafter.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Drafts your next Release notes as Pull Requests are merged into "master"
|
||||
- uses: release-drafter/release-drafter@v6
|
||||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
|
||||
with:
|
||||
disable-autolabeler: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue