diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000..f9b89f11 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,24 @@ +- name: added-feature + description: for new features in the changelog. + color: a2eeef +- name: changed + description: for changes in existing functionality in the changelog. + color: a2eeef +- name: deprecated + description: for soon-to-be removed features in the changelog. + color: e4e669 +- name: removed + description: for now removed features in the changelog. + color: e4e669 +- name: bugfix + description: for any bug fixes in the changelog. + color: d73a4a +- name: security + description: for vulnerabilities in the changelog. + color: dd4739 +- name: bug + description: Something isn't working in this issue. + color: d73a4a +- name: enhancement + description: New feature request in this issue. + color: a2eeef diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..f29c6d17 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,21 @@ +name-template: 'v$NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: '🚀 Added' + label: 'added-feature' + - title: '🧰 Changed' + label: 'changed' + - title: "⚠️ Deprecated" + label: "deprecated" + - title: "⚠️ Removed" + label: "removed" + - title: '🐛 Bug Fixes' + label: 'bugfix' + - title: "⚠️ Security" + label: "security" +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +no-changes-template: "- No changes" +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml new file mode 100644 index 00000000..975bdb88 --- /dev/null +++ b/.github/workflows/label-sync.yml @@ -0,0 +1,17 @@ +name: Sync labels +on: + push: + branches: + - master + paths: + - .github/labels.yml +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: micnncim/action-label-syncer@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + manifest: .github/labels.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..b477b848 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,17 @@ +name: Release Drafter + +on: + push: + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +