[build] Add github labeler for pull request

This closes #2564.
pull/2719/head^2
Kunni 1 year ago committed by GitHub
parent 0bf378dd22
commit 30031d0a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,18 @@
#
# Copyright 2023 Ververica Inc.
#
# Licensed 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
#
# http://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.
name: Bug report
description: Problems with the software
title: "[Bug] "

@ -1,3 +1,18 @@
#
# Copyright 2023 Ververica Inc.
#
# Licensed 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
#
# http://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.
blank_issues_enabled: false
contact_links:
- name: Ask a question or get support

@ -1,3 +1,18 @@
#
# Copyright 2023 Ververica Inc.
#
# Licensed 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
#
# http://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.
name: Feature
description: Add new feature, improve code, and more
labels: [ "enhancement" ]

@ -0,0 +1,74 @@
#
# Copyright 2023 Ververica Inc.
#
# Licensed 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
#
# http://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.
#
# Pull Request Labeler Github Action Configuration: https://github.com/marketplace/actions/labeler
build:
- .github/**/*
- .idea/**/*
- tools/**/*
- .gitignore
- azure-pipelines.yml
- pom.xml
docs:
- docs/**/*
- README.md
cli:
- flink-cdc-cli/**/*
common:
- flink-cdc-common/**/*
composer:
- flink-cdc-composer/**/*
dist:
- flink-cdc-dist/**/*
runtime:
- flink-cdc-runtime/**/*
e2e-tests:
- flink-cdc-e2e-tests/**/*
base:
- flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-base/**/*
debezium:
- flink-cdc-connect/flink-cdc-source-connectors/flink-cdc-debezium/**/*
connector-test-util:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-test-util/**/*
db2-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-db2-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-db2-cdc/**/*
mongodb-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mongodb-cdc/**/*
mysql-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-mysql-cdc/**/*
oceanbase-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oceanbase-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oceanbase-cdc/**/*
oracle-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-oracle-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-oracle-cdc/**/*
postgres-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-postgres-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-postgres-cdc/**/*
sqlserver-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-sqlserver-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-sqlserver-cdc/**/*
tidb-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-tidb-cdc/**/*
vitess-cdc-connector:
- flink-cdc-connect/flink-cdc-source-connectors/flink-connector-vitess-cdc/**/*
- flink-cdc-connect/flink-cdc-source-connectors/flink-sql-connector-vitess-cdc/**/*
values-pipeline-connector:
- flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-values/**/*

@ -1,3 +1,18 @@
#
# Copyright 2023 Ververica Inc.
#
# Licensed 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
#
# http://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.
name: build_docs
# execute this docs build workflow automatically when new push happens in any branch

@ -0,0 +1,37 @@
#
# Copyright 2023 Ververica Inc.
#
# Licensed 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
#
# http://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.
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/label.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on: [pull_request_target]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Loading…
Cancel
Save