Add PR labeler with pull_request_target (#1338)

* Add PR labeler with pull_request_target
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000..bd2b3bf
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,16 @@
+# changes to documentation generation
+"area/doc-gen": doc/**/*
+
+# changes to the core Go cobra lib package
+"area/lib": ./*.go
+
+# changes to the Cobra CLI
+"area/cli": cobra/**/*
+
+# changes to Github workflows
+"area/github": .github/**/*
+
+# changes to shell completions
+"area/*sh completion":
+  - ./*completions*
+
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 0000000..ce4fc1f
--- /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@v3
+      with:
+        repo-token: "${{ github.token }}"
+