OpenMetadata/.github/workflows/maven-build-skip.yml
Nahuel 97f325d7bc
Fix: Update CI GitHub actions (#10075)
* Update CI GitHub actions

* Add missing matrix property to Maven CI
2023-02-02 12:26:13 +01:00

38 lines
1.4 KiB
YAML

# Copyright 2021 Collate
# 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.
# Avoid running Maven CI on each PR opened which does not modify Java or UI code
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-
# of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Maven CI
on:
pull_request_target:
types: [labeled, opened, synchronize, reopened]
paths-ignore:
- "openmetadata-service/**"
- "openmetadata-ui/**"
- "openmetadata-spec/src/main/resources/json/schema/**"
- "openmetadata-dist/**"
- "openmetadata-clients/**"
- "common/**"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
node-version:
- 16.x
steps:
- run: 'echo "Step is not required"'