From ff715f05f2ceeecd692bf1651659af374d5db662 Mon Sep 17 00:00:00 2001 From: Mateusz Urbanek Date: Fri, 24 Nov 2023 09:41:45 +0100 Subject: [PATCH] feat: replaced labels with new syntax Signed-off-by: Mateusz Urbanek --- .github/labels.yml | 27 +++++++++------------------ .github/workflows/00-labels-sync.yaml | 2 +- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/.github/labels.yml b/.github/labels.yml index 26c17d4..df63c53 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,37 +1,28 @@ -good first issue: - name: good first issue +- name: good first issue color: 7057ff description: Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. -help wanted: - name: help wanted +- name: help wanted color: 006b75 description: Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. -area/api: - name: area/api +- name: area/api color: 0052cc description: Indicates an issue on api area. -area/dependency: - name: area/dependency +- name: area/dependency color: 0052cc description: Issues or PRs related to dependency changes -area/example: - name: area/example +- name: area/example color: 0052cc -kind/bug: - name: kind/bug +- name: kind/bug color: e11d21 description: Categorizes issue or PR as related to a bug. -kind/documentation: - name: kind/documentation +- name: kind/documentation color: c7def8 description: Categorizes issue or PR as related to documentation. -kind/feature: - name: kind/feature +- name: kind/feature color: c7def8 description: Categorizes issue or PR as related to a new feature. -kind/support: - name: kind/support +- name: kind/support color: d455d0 description: Categorizes issue or PR as a support question. diff --git a/.github/workflows/00-labels-sync.yaml b/.github/workflows/00-labels-sync.yaml index 9f93901..c166215 100644 --- a/.github/workflows/00-labels-sync.yaml +++ b/.github/workflows/00-labels-sync.yaml @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-go@v4 with: go-version: '1.20' - - run: go install github.com/shanduur/labeler/cmd/labeler@main + - run: go install github.com/shanduur/labeler/cmd/labeler@v1.0.0 - run: labeler upload --owner ${{ env.OWNER }} --repo ${{ env.REPO }} ./.github/labels.yml env: LABELER_TOKEN: ${{ secrets.GITHUB_TOKEN }}