From c81640bb5e7b7c7464af5cba1c27a1251c527e58 Mon Sep 17 00:00:00 2001 From: leejeongho Date: Fri, 21 Jun 2024 03:16:44 +0900 Subject: [PATCH 1/4] =?UTF-8?q?chore:=20auto-pr=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/labeler.yml | 23 +++++++++++++++++++++++ .github/workflows/auto-pr.yml | 21 +++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/auto-pr.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..9d669a84 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,23 @@ +enable: + issues: false + prs: true + +labels: + "chore": + include: + - '\bchore\b' + "feat": + include: + - '\bfeat\b' + "docs": + include: + - '\bdocs\b' + "fix": + include: + - '\fix\b' + "test": + include: + - '\brefactor\b' + "test": + include: + - '\btest\b' diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml new file mode 100644 index 00000000..ac5fc5fb --- /dev/null +++ b/.github/workflows/auto-pr.yml @@ -0,0 +1,21 @@ +name: Auto Assign Label PR + +on: + pull_request: + types: [opened] + +jobs: + assign: + runs-on: ubuntu-latest + steps: + - uses: hkusu/review-assign-action@v1 + with: + assignees: ${{ github.actor }} + labeler: + runs-on: ubuntu-latest + steps: + - name: Check Labels + id: labeler + uses: jimschubert/labeler-action@v2 + with: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} From ae6a819fde42c96ada92563fed0af2661eaa1d4f Mon Sep 17 00:00:00 2001 From: leejeongho Date: Fri, 21 Jun 2024 16:10:16 +0900 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=ED=8C=8C=EC=9D=BC=EB=AA=85=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{auto-pr.yml => auto-assignee-label.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{auto-pr.yml => auto-assignee-label.yml} (93%) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-assignee-label.yml similarity index 93% rename from .github/workflows/auto-pr.yml rename to .github/workflows/auto-assignee-label.yml index ac5fc5fb..d083cf97 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-assignee-label.yml @@ -1,4 +1,4 @@ -name: Auto Assign Label PR +name: Auto Assignee Label PR on: pull_request: From a89d5e31339c1ca7181c64045146b23974f1233c Mon Sep 17 00:00:00 2001 From: leejeongho Date: Fri, 21 Jun 2024 16:19:57 +0900 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20PR=EC=97=90=20=ED=8F=AC=ED=95=A8?= =?UTF-8?q?=EB=90=9C=20=EC=B5=9C=EC=8B=A0=20=EC=BB=A4=EB=B0=8B=EB=90=9C=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=B2=B4=ED=81=AC=EC=95=84=EC=9B=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee-label.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/auto-assignee-label.yml b/.github/workflows/auto-assignee-label.yml index d083cf97..99c9522a 100644 --- a/.github/workflows/auto-assignee-label.yml +++ b/.github/workflows/auto-assignee-label.yml @@ -14,6 +14,8 @@ jobs: labeler: runs-on: ubuntu-latest steps: + - name: Checkout Code + uses: actions/checkout@v2 - name: Check Labels id: labeler uses: jimschubert/labeler-action@v2 From da1848cf78d4848385ec2fff2b51cd00c5582bdd Mon Sep 17 00:00:00 2001 From: leejeongho Date: Fri, 21 Jun 2024 16:23:33 +0900 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=EC=83=88=EB=A1=9C=EC=9A=B4=20?= =?UTF-8?q?=EC=BB=A4=EB=B0=8B=20=EC=B6=94=EA=B0=80=20=EC=8B=9C=20=ED=8A=B8?= =?UTF-8?q?=EB=A6=AC=EA=B1=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-assignee-label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assignee-label.yml b/.github/workflows/auto-assignee-label.yml index 99c9522a..d8220947 100644 --- a/.github/workflows/auto-assignee-label.yml +++ b/.github/workflows/auto-assignee-label.yml @@ -2,7 +2,7 @@ name: Auto Assignee Label PR on: pull_request: - types: [opened] + types: [opened, synchronize] jobs: assign: