Add Github automation
This commit is contained in:
@@ -0,0 +1 @@
|
||||
* @greg-hellings
|
||||
@@ -0,0 +1,38 @@
|
||||
# Format and labels used aim to match those used by Ansible project
|
||||
# https://github.com/marketplace/actions/github-labeler
|
||||
- name: bug
|
||||
color: "fbca04"
|
||||
description: "This issue/PR relates to a bug."
|
||||
- name: deprecated
|
||||
color: "fef2c0"
|
||||
description: "This issue/PR relates to a deprecated module."
|
||||
- name: docs
|
||||
color: "4071a5"
|
||||
description: "This issue/PR relates to or includes documentation."
|
||||
- name: enhancement
|
||||
color: "ededed"
|
||||
description: "This issue/PR relates to a feature request."
|
||||
- name: feature
|
||||
color: "006b75"
|
||||
description: "This issue/PR relates to a feature request."
|
||||
- name: major
|
||||
color: "c6476b"
|
||||
description: "Marks an important and likely breaking change."
|
||||
- name: packaging
|
||||
color: "4071a5"
|
||||
description: "Packaging category"
|
||||
- name: performance
|
||||
color: "555555"
|
||||
description: "Relates to product or testing performance."
|
||||
- name: skip-changelog
|
||||
color: "eeeeee"
|
||||
description: "Can be missed from the changelog."
|
||||
- name: stale
|
||||
color: "eeeeee"
|
||||
description: "Not updated in long time, will be closed soon."
|
||||
- name: wontfix
|
||||
color: "eeeeee"
|
||||
description: "This will not be worked on"
|
||||
- name: test
|
||||
color: "0e8a16"
|
||||
description: "This PR relates to tests, QA, CI."
|
||||
@@ -0,0 +1,27 @@
|
||||
# Format and labels used aim to match those used by Ansible project
|
||||
categories:
|
||||
- title: 'Major Changes'
|
||||
labels:
|
||||
- 'major' # c6476b
|
||||
- title: 'Minor Changes'
|
||||
labels:
|
||||
- 'feature' # 006b75
|
||||
- 'enhancement' # ededed
|
||||
- 'performance' # 555555
|
||||
- title: 'Bugfixes'
|
||||
labels:
|
||||
- 'fix'
|
||||
- 'bugfix'
|
||||
- 'bug' # fbca04
|
||||
- 'docs' # 4071a5
|
||||
- 'packaging' # 4071a5
|
||||
- 'test' # #0e8a16
|
||||
- title: 'Deprecations'
|
||||
labels:
|
||||
- 'deprecated' # fef2c0
|
||||
exclude-labels:
|
||||
- 'skip-changelog'
|
||||
template: |
|
||||
## Changes
|
||||
|
||||
$CHANGES
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Release Drafter
|
||||
|
||||
on:
|
||||
push:
|
||||
# branches to consider in the event; optional, defaults to all
|
||||
branches:
|
||||
- main
|
||||
- 'releases/**'
|
||||
- 'stable/**'
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
# Drafts your next Release notes as Pull Requests are merged into "main"
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user