mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
feat: add pr labeler workflow
Signed-off-by: Adithya Krishna <adi@documenso.com>
This commit is contained in:
52
.github/pr-labeler.yml
vendored
Normal file
52
.github/pr-labeler.yml
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
'apps: marketing':
|
||||
- apps/marketing/**
|
||||
|
||||
'apps: web':
|
||||
- apps/web/**
|
||||
|
||||
'docker':
|
||||
- docker/**
|
||||
|
||||
'scripts':
|
||||
- scripts/**
|
||||
|
||||
'migrations':
|
||||
- packages/prisma/migrations/**/migration.sql
|
||||
|
||||
'e2e tests changes':
|
||||
- packages/app-tests/e2e/**
|
||||
|
||||
'pkg: assets':
|
||||
- packages/assets/**
|
||||
|
||||
'pkg: email':
|
||||
- packages/email/**
|
||||
|
||||
'pkg: eslint-config':
|
||||
- packages/eslint-config/**
|
||||
|
||||
'pkg: lib':
|
||||
- packages/lib/**
|
||||
|
||||
'pkg: prettier-config':
|
||||
- packages/prettier-config/**
|
||||
|
||||
'pkg: prisma':
|
||||
- packages/prisma/**
|
||||
|
||||
'pkg: signing':
|
||||
- packages/signing/**
|
||||
|
||||
'pkg: tailwind-config':
|
||||
- packages/tailwind-config/**
|
||||
|
||||
'pkg: trpc':
|
||||
- packages/trpc/**
|
||||
|
||||
'pkg: tsconfig':
|
||||
- packages/tsconfig/**
|
||||
|
||||
'pkg: ui':
|
||||
- packages/ui/**
|
||||
|
||||
|
||||
20
.github/workflows/pr-labeler.yml
vendored
Normal file
20
.github/workflows/pr-labeler.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: "PR Labeler"
|
||||
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
sync-labels: ""
|
||||
Reference in New Issue
Block a user