nchammas commented on a change in pull request #28114: [SPARK-31330] Automatically label PRs based on the paths they touch URL: https://github.com/apache/spark/pull/28114#discussion_r406805131
########## File path: .github/autolabeler.yml ########## @@ -0,0 +1,111 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Bot page: https://github.com/apps/probot-autolabeler +# The matching patterns follow the .gitignore spec. +# See: https://git-scm.com/docs/gitignore#_pattern_format +# Also, note that the plugin uses 'ignore' package. See also +# https://github.com/kaelzhang/node-ignore +INFRA: + - ".github/" + - "appveyor.yml" + - "/tools/" + - "/dev/create-release/" + - ".asf.yaml" + - ".gitattributes" + - ".gitignore" +BUILD: + - "/dev/" Review comment: I don't think we can exclude files if we have a matching rule on the parent directory, per my other review comment on `!`. But at the very least we can add these files to `INFRA` and they will be tagged both `BUILD` and `INFRA`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
