From a0e09c567b64714837872b46cc6770962ddfa822 Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 01:53:03 +0700 Subject: [PATCH 1/4] chore: remove redundant deploy.yml --- workflows/deploy.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 workflows/deploy.yml diff --git a/workflows/deploy.yml b/workflows/deploy.yml deleted file mode 100644 index e69de29..0000000 From 61ec2a95576803e241c816d03f4b1097c67294ec Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 01:53:12 +0700 Subject: [PATCH 2/4] chore: remove redundant release.yml --- workflows/realease.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 workflows/realease.yml diff --git a/workflows/realease.yml b/workflows/realease.yml deleted file mode 100644 index e69de29..0000000 From 845f037d7b2e6171f545eb144a1f0c38c572a895 Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 02:06:15 +0700 Subject: [PATCH 3/4] fix: correcting the syntax for pr-size.yml --- .github/workflows/pr-size.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-size.yml b/.github/workflows/pr-size.yml index 658f13c..ab45eda 100644 --- a/.github/workflows/pr-size.yml +++ b/.github/workflows/pr-size.yml @@ -19,12 +19,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - prefix: "size/" sizes: > { - "XS": 10, - "S": 30, - "M": 100, - "L": 500, - "XL": 1000 + "0": "XS", + "10": "S", + "30": "M", + "100": "L", + "500": "XL", + "1000": "XXL" } From fad92d172b89ce0efe98cda3d75a07a7a145e5db Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 02:07:05 +0700 Subject: [PATCH 4/4] feat: add centralized label manifest --- .github-labels.yml | 40 +++++++++++++++++++++++++++++++ .github/workflows/sync-labels.yml | 36 ++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 .github-labels.yml create mode 100644 .github/workflows/sync-labels.yml diff --git a/.github-labels.yml b/.github-labels.yml new file mode 100644 index 0000000..d70ab5f --- /dev/null +++ b/.github-labels.yml @@ -0,0 +1,40 @@ +# Centralized label manifest for all consumer repos. +# Sync via the `sync-labels` reusable workflow. + +# --- PR size labels (pascalgn/size-label-action) --- +- name: "size/XS" + color: "3cbf00" + description: "0 changed lines" + +- name: "size/S" + color: "5d9801" + description: "<10 changed lines" + +- name: "size/M" + color: "7f7203" + description: "<30 changed lines" + +- name: "size/L" + color: "a14c05" + description: "<100 changed lines" + +- name: "size/XL" + color: "c32607" + description: "<500 changed lines" + +- name: "size/XXL" + color: "e50009" + description: "1000+ changed lines" + +# --- Path-based labels (actions/labeler, see labeler.yml) --- +- name: "docs" + color: "0075ca" + description: "Documentation changes" + +- name: "ci" + color: "fbca04" + description: "CI/CD and workflow changes" + +- name: "tests" + color: "c5def5" + description: "Test changes" diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml new file mode 100644 index 0000000..2378af5 --- /dev/null +++ b/.github/workflows/sync-labels.yml @@ -0,0 +1,36 @@ +name: Sync Labels + +on: + workflow_call: + inputs: + delete-other-labels: + description: "Remove labels not declared in the central manifest." + type: boolean + required: false + default: false + +permissions: + issues: write + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + # + # Pull the central label manifest from anaverage-enri/.github + # + - name: Checkout shared label manifest + uses: actions/checkout@v4 + with: + repository: anaverage-enri/.github + path: .github-config + + # + # Apply labels to the caller repository + # + - name: Sync labels + uses: EndBug/label-sync@v2 + with: + config-file: .github-config/.github-labels.yml + delete-other-labels: ${{ inputs.delete-other-labels }}