From 1d8e7d1eef9dfc2b6da1a8fbc287a4053ffb47ca Mon Sep 17 00:00:00 2001 From: Frederik Wallner Date: Mon, 20 Jul 2026 21:28:23 +0200 Subject: [PATCH 1/3] chore: add automatic labeling --- .github/labeler.yml | 30 ++++++++++++++++++++++++++++++ .github/workflows/triage.yml | 19 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/triage.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..6434690 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,30 @@ +🎉 feature: + - head-branch: + - '^feature' + - 'feature' + - '^feat' + - 'feat' +🐛 fix: + - head-branch: + - '^fix' + - 'fix' +📦 admin: + - changed-files: + - any-glob-to-any-file: 'packages/admin/**' +📦 client: + - changed-files: + - any-glob-to-any-file: 'packages/client/**' +📦 core: + - changed-files: + - any-glob-to-any-file: 'packages/effect-firebase/**' +📦 mock: + - changed-files: + - any-glob-to-any-file: 'packages/mock/**' +📖 docs: + - changed-files: + - any-glob-to-any-file: + - 'example/**' + - '**/*.md' +🛠️ config: + - changed-files: + - any-glob-to-any-file: '.github/**' diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml new file mode 100644 index 0000000..9a756f3 --- /dev/null +++ b/.github/workflows/triage.yml @@ -0,0 +1,19 @@ +name: Triage + +on: + pull_request: + types: [opened, synchronize] + +jobs: + check-labels: + name: Labels + runs-on: ubuntu-latest + timeout-minutes: 5 + if: ${{ github.actor != 'dependabot[bot]' }} + permissions: + contents: read + issues: write + pull-requests: write + steps: + - name: Set labels + uses: actions/labeler@v6 From 114e71d28d4a5451ba3d5d59e65e2e973899316e Mon Sep 17 00:00:00 2001 From: Frederik Wallner Date: Mon, 20 Jul 2026 21:29:27 +0200 Subject: [PATCH 2/3] chore: add codeowners file --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..401aec1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @fwal From 5cf330d030cab0bf96915bca29bb0da0ac06ed0c Mon Sep 17 00:00:00 2001 From: Frederik Wallner Date: Mon, 20 Jul 2026 21:42:03 +0200 Subject: [PATCH 3/3] chore: change to pull request target --- .github/workflows/triage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 9a756f3..ccec903 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -1,7 +1,7 @@ name: Triage on: - pull_request: + pull_request_target: types: [opened, synchronize] jobs: