diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..07ab3e9 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,9 @@ +version: 1 +labels: +- label: "breaking-change" + title: "BREAKING CHANGE:.*" +- label: "breaking-change" + title: ".*!:.*" +- label: "enhancement" + title: "^feat:.*" + \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml index 2d9ed95..9af4a1b 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -1,4 +1,5 @@ # .github/release.yml + changelog: # exclude: # labels: @@ -8,10 +9,10 @@ changelog: categories: - title: Breaking Changes 🛠 labels: - - BREAKING CHANGE + - breaking-change - title: Exciting New Features 🎉 labels: - - feat + - enhancement - title: Other Changes labels: - "*" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6d77c59 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,13 @@ +name: Label PRs + +on: +- pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: srvaroa/labeler@master + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file