diff --git a/.github/pr-labeler-config.yml b/.github/pr-labeler-config.yml index 2625cb1cfdff68..e3fcc15b637e22 100644 --- a/.github/pr-labeler-config.yml +++ b/.github/pr-labeler-config.yml @@ -1,22 +1,32 @@ ingestion: - - "metadata-ingestion/**/*" - - "metadata-ingestion-modules/**/*" - - "metadata-integration/**/*" +- changed-files: + - any-glob-to-any-file: + - "metadata-ingestion/**/*" + - "metadata-ingestion-modules/**/*" + - "metadata-integration/**/*" devops: - - "docker/**/*" - - ".github/**/*" - - "perf-test/**/*" - - "metadata-service/**/*" +- changed-files: + - any-glob-to-any-file: + - "docker/**/*" + - ".github/**/*" + - "perf-test/**/*" + - "metadata-service/**/*" product: - - "datahub-web-react/**/*" - - "datahub-frontend/**/*" - - "datahub-graphql-core/**/*" - - "metadata-io/**/*" +- changed-files: + - any-glob-to-any-file: + - "datahub-web-react/**/*" + - "datahub-frontend/**/*" + - "datahub-graphql-core/**/*" + - "metadata-io/**/*" docs: - - "docs/**/*" +- changed-files: + - any-glob-to-any-file: + - "docs/**/*" smoke_test: - - "smoke-test/**/*" +- changed-files: + - any-glob-to-any-file: + - "smoke-test/**/*" diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index f519db20a73e10..7a19d78473133a 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -3,6 +3,10 @@ on: pull_request_target: types: [opened, reopened] +permissions: + contents: read + pull-requests: write + jobs: triage: permissions: