diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml new file mode 100644 index 0000000..a3f3d98 --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,4 @@ +feature: ['features/*', 'feature/*', 'feat/*', 'features-*', 'feature-*', 'feat-*'] +fix: ['fixes/*', 'fix/*'] +chore: ['chore/*'] +dependencies: ['update/*'] diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..66e8be2 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,40 @@ +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "๐Ÿš€ Features" + labels: + - "feature" + - "enhancement" + - title: "๐Ÿ› Bug Fixes" + labels: + - "fix" + - "bugfix" + - "bug" + - title: "๐Ÿงน Maintenance" + labels: + - "maintenance" + - "dependencies" + - "refactoring" + - "cosmetic" + - "chore" + - title: "๐Ÿ“๏ธ Documentation" + labels: + - "documentation" + - "docs" +change-template: "- $TITLE (#$NUMBER)" +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions +version-resolver: + major: + labels: + - "major" + minor: + labels: + - "minor" + patch: + labels: + - "patch" + default: patch +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml new file mode 100644 index 0000000..f5659bf --- /dev/null +++ b/.github/workflows/draft.yml @@ -0,0 +1,20 @@ +# Drafts the next Release notes as Pull Requests are merged (or commits are pushed) into "main" or "master" +name: Draft next release + +on: + push: + branches: [main, "master"] + +permissions: + contents: read + +jobs: + update-release-draft: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml new file mode 100644 index 0000000..d020aa4 --- /dev/null +++ b/.github/workflows/pr_labeler.yml @@ -0,0 +1,17 @@ +# This workflow will apply the corresponding label on a pull request +name: PR Labeler + +on: + pull_request_target: + +permissions: + contents: read + pull-requests: write + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - uses: TimonVS/pr-labeler-action@v4 + with: + repo-token: ${{ github.token }}