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