diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e130a8144..e2dc2fe2b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,4 +30,5 @@ workflows: # mapping: | docs/.* docs_change true - ^((?!docs/).)*$ code_change true + RELEASE.md docs_change true + ^(RELEASE.md|(?!docs/).)*$ code_change true diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index 767cc46378..e3759460ac 100644 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -7,12 +7,14 @@ on: - develop paths-ignore: - "docs/**" + - '**.md' pull_request: branches: - main - develop paths-ignore: - "docs/**" + - '**.md' jobs: unit-tests: diff --git a/.github/workflows/docs-only-checks.yml b/.github/workflows/docs-only-checks.yml index 4d6870d627..64ae9ed7fb 100644 --- a/.github/workflows/docs-only-checks.yml +++ b/.github/workflows/docs-only-checks.yml @@ -5,14 +5,19 @@ on: branches: - main - develop + - try-ga-triggering + - docs-only-check-for-releasemd paths: - "docs/**" + - '**.md' pull_request: branches: - main - develop + - docs-only-check-for-releasemd paths: - "docs/**" + - '**.md' jobs: lint-tests: diff --git a/RELEASE.md b/RELEASE.md index a1fac7935a..f188b8e5db 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -15,6 +15,7 @@ ## Bug fixes and other changes * Updated `kedro pipeline create` and `kedro catalog create` to use new `/conf` file structure. +* Only trigger docs build when release notes have. ## Documentation changes