diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..401aec1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @fwal 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..ccec903 --- /dev/null +++ b/.github/workflows/triage.yml @@ -0,0 +1,19 @@ +name: Triage + +on: + pull_request_target: + 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