From 7facfd0b1d10ccee13a611bc97e81915fdc57229 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 1 Sep 2023 05:50:32 +0200 Subject: [PATCH 1/2] chore: update labels --- .github/dependabot.yml | 13 ++-- .github/labels.yml | 121 +++++++++++++++++------------------ .github/workflows/labels.yml | 6 ++ 3 files changed, 71 insertions(+), 69 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index de9e1bd2..7d74ef69 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,19 +4,16 @@ updates: directory: "/" schedule: interval: "daily" - time: "06:00" - timezone: "Europe/Paris" labels: - - ":game_die: dependencies" - - ":robot: bot" + - "kind/dependencies" + - "bot" - package-ecosystem: "npm" directory: "/" schedule: interval: "daily" - time: "06:00" - timezone: "Europe/Paris" + versioning-strategy: "increase" allow: - dependency-type: "production" labels: - - ":game_die: dependencies" - - ":robot: bot" + - "kind/dependencies" + - "bot" diff --git a/.github/labels.yml b/.github/labels.yml index ac87246e..8cefcc0b 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,85 +1,84 @@ ## more info https://github.com/crazy-max/ghaction-github-labeler -- # automerge - name: ":bell: automerge" - color: "8f4fbc" - description: "" -- # bot - name: ":robot: bot" +- + name: "bot" color: "69cde9" description: "" -- # bug - name: ":bug: bug" + from_name: ":robot: bot" +- + name: "good first issue" + color: "7057ff" + description: "" + from_name: ":hatching_chick: good first issue" +- + name: "help wanted" + color: "4caf50" + description: "" + from_name: ":pray: help wanted" +- + name: "area/ci" + color: "ed9ca9" + description: "" +- + name: "kind/bug" color: "b60205" description: "" -- # dependencies - name: ":game_die: dependencies" + from_name: ":bug: bug" +- + name: "kind/dependencies" color: "0366d6" description: "" -- # documentation - name: ":memo: documentation" + from_name: ":game_die: dependencies" +- + name: "kind/docs" color: "c5def5" description: "" -- # duplicate - name: ":busts_in_silhouette: duplicate" + from_name: ":memo: documentation" +- + name: "kind/duplicate" color: "cccccc" description: "" -- # enhancement - name: ":sparkles: enhancement" + from_name: ":busts_in_silhouette: duplicate" +- + name: "kind/enhancement" color: "0054ca" description: "" -- # feature request - name: ":bulb: feature request" - color: "0e8a16" - description: "" -- # feedback - name: ":mega: feedback" - color: "03a9f4" - description: "" -- # future maybe - name: ":rocket: future maybe" - color: "fef2c0" + from_name: ":sparkles: enhancement" +- + name: "kind/invalid" + color: "e6e6e6" description: "" -- # good first issue - name: ":hatching_chick: good first issue" - color: "7057ff" + from_name: ":no_entry_sign: invalid" +- + name: "kind/upstream" + color: "fbca04" description: "" -- # help wanted - name: ":pray: help wanted" - color: "4caf50" + from_name: ":eyes: upstream" +- + name: "kind/wontfix" + color: "ffffff" description: "" -- # invalid - name: ":no_entry_sign: invalid" - color: "e6e6e6" + from_name: ":coffin: wontfix" +- + name: "status/automerge" + color: "8f4fbc" description: "" -- # investigate - name: ":mag: investigate" + from_name: ":bell: automerge" +- + name: "status/needs-investigation" color: "e6625b" description: "" -- # needs more info - name: ":thinking: needs more info" + from_name: ":mag: investigate" +- + name: "status/needs-more-info" color: "795548" description: "" -- # pinned - name: ":pushpin: pinned" - color: "28008e" - description: "" -- # question - name: ":question: question" - color: "3f51b5" - description: "" -- # sponsor - name: ":sparkling_heart: sponsor" - color: "fedbf0" - description: "" -- # stale - name: ":skull: stale" + from_name: ":thinking: needs more info" +- + name: "status/stale" color: "237da0" description: "" -- # upstream - name: ":eyes: upstream" - color: "fbca04" - description: "" -- # wontfix - name: ":coffin: wontfix" - color: "ffffff" + from_name: ":skull: stale" +- + name: "status/triage" + color: "dde4b7" description: "" diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 91ec7039..c3e0637b 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -11,6 +11,10 @@ on: paths: - '.github/labels.yml' - '.github/workflows/labels.yml' + pull_request: + paths: + - '.github/labels.yml' + - '.github/workflows/labels.yml' jobs: labeler: @@ -22,3 +26,5 @@ jobs: - name: Run Labeler uses: crazy-max/ghaction-github-labeler@v4 + with: + dry-run: ${{ github.event_name == 'pull_request' }} From f8305a725d5c776b08ba03253a4e3a20921e4d47 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 1 Sep 2023 05:52:49 +0200 Subject: [PATCH 2/2] update README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0d76133e..a8e54ffd 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,10 @@ on: paths: - '.github/labels.yml' - '.github/workflows/labels.yml' + pull_request: + paths: + - '.github/labels.yml' + - '.github/workflows/labels.yml' jobs: labeler: @@ -77,6 +81,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} yaml-file: .github/labels.yml + dry-run: ${{ github.event_name == 'pull_request' }} exclude: | help* *issue