[Action] Add labeler
authorDongju Chae <dongju.chae@samsung.com>
Wed, 7 Jul 2021 09:57:53 +0000 (18:57 +0900)
committernnsuite.sec/On-Device Lab./Principal Professional/삼성전자 <nnsuite@samsung.com>
Wed, 7 Jul 2021 10:30:57 +0000 (19:30 +0900)
This patch adds github action labeler.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
.github/workflows/pr-labeler.yml [new file with mode: 0644]

diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml
new file mode 100644 (file)
index 0000000..1e8a329
--- /dev/null
@@ -0,0 +1,12 @@
+name: pr-labeler
+
+on: [ pull_request_target ]
+
+jobs:
+  labeling:
+    name: Make labels of the pull request
+    runs-on: [ code-medium ]
+    steps:
+      - uses: CODE-Actions/labeler@v2
+        with:
+          repo-token: ${{ secrets.GITHUB_TOKEN }}