diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..b707983 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @greg-hellings diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..a203ea8 --- /dev/null +++ b/.github/labels.yml @@ -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." diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..a444deb --- /dev/null +++ b/.github/release-drafter.yml @@ -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 diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..a7b7332 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -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 }}