Apache Solr open-source search software
Auto-label PRs with labeler action (#2180)
Jan Høydahl421d17b24b8b
diff --git a/.github/labeler.yml b/.github/labeler.ymlnew file mode 100644index 00000000000..ab2019fc498--- /dev/null+++ b/.github/labeler.yml@@ -0,0 +1,172 @@+# Add 'dependencies' label to any PR updating dependencies+dependencies:+ - changed-files:+ - any-glob-to-any-file:+ - versions.props+ - versions.lock+ - solr/licenses/**++# Add 'documentation' label to any changes within ref-guide or dev-docs+documentation:+ - changed-files:+ - any-glob-to-any-file:+ - dev-docs/**+ - solr/solr-ref-guide/**+ - solr/documentation/**+ - help/**+ - solr/README.adoc+ - CONTRIBUTING.md+ - README.md++# Add 'examples' label to examples+examples:+ - changed-files:+ - any-glob-to-any-file:+ - solr/example/**++# Add 'bats-tests' label+bats-tests:+ - changed-files:+ - any-glob-to-any-file:+ - solr/packaging/tests/**++# Add 'docker' label for changes to docker+docker:+ - changed-files:+ - any-glob-to-any-file:+ - solr/docker/**++# Add 'tool:build' label for changes to gradle build files+tool:build:+ - changed-files:+ - any-glob-to-any-file:+ - '**/*.gradle'+ - settings.gradle+ - build.gradle+ - gradle/**+ - buildSrc/**++# Add 'tools' label for changes to dev tools+tool:scripts:+ - changed-files:+ - any-glob-to-any-file:+ - dev-tools/**+ - solr/server/scripts/cloud-scripts/**++# Add jetty related labels+jetty-server:+ - changed-files:+ - any-glob-to-any-file:+ - solr/server/etc/**+ - solr/server/contexts/**+ - solr/server/resources/**+ - solr/server/modules/**++# Add 'start-scripts' label for changes to start scripts+start-scripts:+ - changed-files:+ - any-glob-to-any-file:+ - solr/bin/**++# Add 'configs' label+configs:+ - changed-files:+ - any-glob-to-any-file:+ - solr/server/solr/**++# Add 'api' label+api:+ - changed-files:+ - any-glob-to-any-file:+ - solr/api/**++# Add 'client:solrj' labels+client:solrj:+ - changed-files:+ - any-glob-to-any-file:+ - solr/solrj/**+ - solr/solrj-*/**++# Add 'test-framework' label+test-framework:+ - changed-files:+ - any-glob-to-any-file:+ - solr/test-framework/**++# Add 'admin-ui' label+admin-ui:+ - changed-files:+ - any-glob-to-any-file:+ - solr/webapp/**++# Add 'prometheus-exporter' label+prometheus-exporter:+ - changed-files:+ - any-glob-to-any-file:+ - solr/prometheus-exporter/**++# Add labels for changes to solr modules+module:analysis-extras:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/analytics-extras/**++module:clustering:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/clustering/**++module:extraction:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/extraction/**++module:gcs-repository:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/gcs-repository/**++module:hadoop-auth:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/hadoop-auth/**++module:hdfs:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/hdfs/**++module:jwt-auth:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/jwt-auth/**++module:langid:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/langid/**++module:ltr:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/ltr/**++module:opentelemetry:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/opentelemetry/**++module:s3-repository:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/s3-repository/**++module:scripting:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/scripting/**++module:sql:+ - changed-files:+ - any-glob-to-any-file:+ - solr/modules/sql/**diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.ymlnew file mode 100644index 00000000000..d59e2241ad0--- /dev/null+++ b/.github/workflows/labeler.yml@@ -0,0 +1,13 @@+name: "Pull Request Labeler"+on:+ - pull_request_target++jobs:+ labeler:+ permissions:+ contents: read+ pull-requests: write+ runs-on: ubuntu-latest+ steps:+ - uses: actions/labeler@v5+\ No newline at end of file