From d2788dfc7d1367143859c944a40d57e97a19392c Mon Sep 17 00:00:00 2001 From: ucpr Date: Wed, 14 Jun 2023 03:37:28 +0900 Subject: [PATCH] chore: add labeler --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yaml | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yaml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..d572955 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +dotfiles-cli: + - "cli/**/*" +neovim: + - "nvim/**/*" +zsh: + - "zsh/**/*" diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml new file mode 100644 index 0000000..c497f13 --- /dev/null +++ b/.github/workflows/labeler.yaml @@ -0,0 +1,17 @@ +name: Labeler + +on: + pull_request_target: + +jobs: + label: + runs-on: ubuntu-latest + timeout-minutes: 1 + permissions: + contents: read + pull-requests: write + steps: + - uses: actions/labeler@4.1.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true -- knotmirror 0.0.1