diff --git a/.github/workflows/java-checkstyle.yml b/.github/workflows/java-checkstyle.yml index 5513fdc35ec..484e9d1c00b 100644 --- a/.github/workflows/java-checkstyle.yml +++ b/.github/workflows/java-checkstyle.yml @@ -18,8 +18,12 @@ on: branches: - main - "0.[0-9]+.[0-9]+" + paths-ignore: + - 'openmetadata-docs/**' pull_request_target: types: [opened, synchronize, reopened, labeled] + paths-ignore: + - 'openmetadata-docs/**' permissions: contents: read diff --git a/.github/workflows/py-checkstyle.yml b/.github/workflows/py-checkstyle.yml index 9def4ec1517..61be8a6d953 100644 --- a/.github/workflows/py-checkstyle.yml +++ b/.github/workflows/py-checkstyle.yml @@ -16,6 +16,8 @@ name: Python Checkstyle on: pull_request_target: types: [labeled, opened, synchronize, reopened, ready_for_review] + paths-ignore: + - 'openmetadata-docs/**' permissions: contents: read