From 1068e510d49a207a47ebfd546f9aa167e03a3cf6 Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Mon, 5 Feb 2024 23:43:56 +0900 Subject: [PATCH] Add labeler --- .github/labeler.yml | 19 +++++++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..d6e367b --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,19 @@ +⚔️ Weapons: +- changed-files: + - any-glob-to-any-file: + - weapons/** + +⚙️ Development: +- changed-files: + - any-glob-to-any-file: + - scripts/** + - .github/labeler.yml + +🎨 Image: +- changed-files: + - any-glob-to-any-file: + - images/** + +🦺 github-action: +- changed-files: + - any-glob-to-any-file: .github/workflows/** \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..7adc272 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 \ No newline at end of file