diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..64e9b2262 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,13 @@ +# changes to documentation +"area/documentation": doc/**/* + +# changes to the core lib package +"area/lib": ./*.go + +# changes to the zsh completion +"area/*sh completion": + - ./zsh_* + - ./shell_* + - ./powershell_* + - ./bash_* + diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..232807c81 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@main + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" +