mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-22 15:32:48 +00:00
Label action changes for OpenMetadata teams (#11114)
* Label action changes for OpenMetadata teams * Label action changes for Openmetadata docs --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
parent
98d09ec6a3
commit
3ce6e102e6
28
.github/labeler.yml
vendored
Normal file
28
.github/labeler.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
# Label when source files are for UI team
|
||||
ui:
|
||||
- "openmetadata-ui/**/*"
|
||||
- "package.json"
|
||||
|
||||
# Label for Devops when source files is in docker or github
|
||||
devops:
|
||||
- "docker/**/*"
|
||||
- ".github/**/*"
|
||||
|
||||
# Label for backend team
|
||||
backend:
|
||||
- "openmetadata-service/**/*"
|
||||
- "openmetadata-clients/**/*"
|
||||
- "openmetadata-dist/**/*"
|
||||
- "openmetadata-service/**/*"
|
||||
- "openmetadata-spec/**/*"
|
||||
|
||||
#Label for ingestion, when source file is in ingestion or airflow
|
||||
ingestion:
|
||||
- "openmetadata-airflow-apis/**/*"
|
||||
- "ingestion/**/*"
|
||||
- "ingestion-core/**/*"
|
||||
|
||||
#Label for documentation , when source file is in docs
|
||||
documentation :
|
||||
- "openmetadata-docs/**/*"
|
||||
- "openmetadata-docs-v1/**/*"
|
25
.github/workflows/labeler.yml
vendored
Normal file
25
.github/workflows/labeler.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Labeler
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- edited
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
pr-labels:
|
||||
# Job to assign PR labels to teams
|
||||
name: pr-labels
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Assign labels
|
||||
uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
configuration-path: .github/labeler.yml
|
||||
sync-labels: true
|
Loading…
x
Reference in New Issue
Block a user