diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..bd31eaa --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +documentation: +- 'docs/**/*' +- '**/*.md' + +pending: +- any: ['**/*', '!docs/**/*', '!**/*.md'] diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 2ab917e..2820a3b 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,4 +1,4 @@ -name-template: 'v$RESOLVED_VERSION 🌈' +name-template: 'v$RESOLVED_VERSION \U0001F308' tag-template: 'v$RESOLVED_VERSION' categories: - title: '\U0001F680 New Feature' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..ba65687 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +name: "Add label automatically" +on: +- pull_request_target + +jobs: + label: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"