From a348ecc12d93a9c02442b209d68ac9166208bcea Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 02:18:53 +0700 Subject: [PATCH 1/3] doc: update README.md content --- README.md | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index af26929..eddd488 100644 --- a/README.md +++ b/README.md @@ -2,33 +2,37 @@ Contributor: **[Enri](https://github.com/anaverage-enri)** -This repository acts as a fallback for all of my repositories that don't have an actual `.github` directory with issue/pull request templates, code of conduct and other community health files,... +A fallback `.github` repository that applies community health files and shared workflows across all of my repositories that don't define their own. -## Development - -Pretty straight forward since this is just a fall back `.github` folder. -No sophisticated tech needed, just add or modify anything... as your liking and suits your personal repositories. - -## Current contents +## Contents ``` -.github -├── ISSUE_TEMPLATE +. +├── .github/ +│ └── workflows/ +│ ├── labels.yml +│ ├── pr-size.yml +│ └── sync-labels.yml +├── ISSUE_TEMPLATE/ │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml -├── workflows -│ ├── deploy.yml -│ ├── labels.yml -│ ├── pr-size.yml -│ └── realease.yml -├── .gitignore ├── CODE_OF_CONDUCT.md ├── CODEOWNERS +├── labeler.yml ├── LICENSE ├── PULL_REQUEST_TEMPLATE.md -├── README.md -└── labeler.yml +└── README.md ``` -### Thank you for checking this out, any suggestion or contribution is welcome! 🤘🏻 +## Workflows + +| Workflow | Description | +|---|---| +| `labels.yml` | Syncs labels to all repositories | +| `pr-size.yml` | Automatically labels PRs by size | +| `sync-labels.yml` | Pushes the label manifest to downstream repos | + +--- + +Any suggestion or contribution is welcome. From 0a3ffecac82b1e7c7b49a0c054c830033ca42d2d Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 02:25:12 +0700 Subject: [PATCH 2/3] chore: remove test files --- .github/workflows/labels-test.yml | 12 ------------ .github/workflows/pr-size-test.yml | 12 ------------ 2 files changed, 24 deletions(-) delete mode 100644 .github/workflows/labels-test.yml delete mode 100644 .github/workflows/pr-size-test.yml diff --git a/.github/workflows/labels-test.yml b/.github/workflows/labels-test.yml deleted file mode 100644 index 780ce88..0000000 --- a/.github/workflows/labels-test.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: PR Labels - -on: - pull_request: - types: - - opened - - synchronize - - reopened - -jobs: - labels: - uses: anaverage-enri/.github/.github/workflows/labels.yml@main diff --git a/.github/workflows/pr-size-test.yml b/.github/workflows/pr-size-test.yml deleted file mode 100644 index 6886184..0000000 --- a/.github/workflows/pr-size-test.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: PR Size - -on: - pull_request: - types: - - opened - - synchronize - - reopened - -jobs: - size: - uses: anaverage-enri/.github/.github/workflows/pr-size.yml@main From 6e0f8879aad7d278a3efebe79faf658dc4628195 Mon Sep 17 00:00:00 2001 From: anaverage-enri Date: Wed, 20 May 2026 02:25:21 +0700 Subject: [PATCH 3/3] doc: update content of README.md --- README.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/README.md b/README.md index eddd488..e98dd9a 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,57 @@ A fallback `.github` repository that applies community health files and shared w | `pr-size.yml` | Automatically labels PRs by size | | `sync-labels.yml` | Pushes the label manifest to downstream repos | +## Usage in consumer repos + +Add thin callers in each consumer repo under `.github/workflows/`. + +**PR Labels** — `.github/workflows/labels.yml` +```yaml +name: PR Labels + +on: + pull_request: + types: + - opened + - synchronize + - reopened + +jobs: + labels: + uses: anaverage-enri/.github/.github/workflows/labels.yml@main +``` + +**PR Size** — `.github/workflows/pr-size.yml` +```yaml +name: PR Size + +on: + pull_request: + types: + - opened + - synchronize + - reopened + +jobs: + size: + uses: anaverage-enri/.github/.github/workflows/pr-size.yml@main +``` + +**Sync Labels** — `.github/workflows/sync-labels.yml` +```yaml +name: Sync Labels + +on: + workflow_dispatch: + +jobs: + sync: + uses: anaverage-enri/.github/.github/workflows/sync-labels.yml@main + # Optionally: + # with: + # delete-other-labels: true +``` + --- Any suggestion or contribution is welcome.