diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 02224756e..5817714d0 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -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] " diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 5a520c72a..75e69f146 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -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 diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index cdb2fd105..c16187926 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -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" ] diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..427ff0888 --- /dev/null +++ b/.github/labeler.yml @@ -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/**/* diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 41965ff6d..76f570231 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -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 diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000..05e02c02f --- /dev/null +++ b/.github/workflows/label.yml @@ -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 }}" \ No newline at end of file