From f02681dde67af09d3dee24dc930f5b7cf78698d9 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 26 Jun 2024 19:25:10 +0200 Subject: [PATCH] Do not trigger CI for changes to .sdkmanrc Also update ci-sanity-check.yml. --- .github/workflows/ci-actions-incremental.yml | 2 ++ .github/workflows/ci-sanity-check.yml | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-actions-incremental.yml b/.github/workflows/ci-actions-incremental.yml index 292ce8c8a1c7d4..e5d1060da034e8 100644 --- a/.github/workflows/ci-actions-incremental.yml +++ b/.github/workflows/ci-actions-incremental.yml @@ -20,6 +20,7 @@ on: - '.github/*.conf' - '.github/workflows/doc-build.yml' - '.github/workflows/preview.yml' + - '.sdkmanrc' pull_request: types: [opened, synchronize, reopened, ready_for_review] paths-ignore: @@ -37,6 +38,7 @@ on: - '.github/*.conf' - '.github/workflows/doc-build.yml' - '.github/workflows/preview.yml' + - '.sdkmanrc' workflow_dispatch: concurrency: diff --git a/.github/workflows/ci-sanity-check.yml b/.github/workflows/ci-sanity-check.yml index c2ac380fc88abc..0e57767987be3e 100644 --- a/.github/workflows/ci-sanity-check.yml +++ b/.github/workflows/ci-sanity-check.yml @@ -11,21 +11,31 @@ on: - '*.txt' - 'adr/**' - 'jakarta/**' + - 'docs/src/main/asciidoc/**' - '.github/ISSUE_TEMPLATE/**' - '.github/*.yml' - '.github/*.java' + - '.github/*.conf' + - '.github/workflows/doc-build.yml' + - '.github/workflows/preview.yml' + - '.sdkmanrc' pull_request: paths: - '.gitignore' - '.dockerignore' - - 'adr/**' - '*.md' - '*.adoc' - '*.txt' + - 'adr/**' - 'jakarta/**' + - 'docs/src/main/asciidoc/**' - '.github/ISSUE_TEMPLATE/**' - '.github/*.yml' - '.github/*.java' + - '.github/*.conf' + - '.github/workflows/doc-build.yml' + - '.github/workflows/preview.yml' + - '.sdkmanrc' jobs: ci-sanity-check: