From db04dd6a67f16d3638007f494ea75afef0c10fe6 Mon Sep 17 00:00:00 2001 From: Matthias Zepper Date: Thu, 31 Aug 2023 13:14:06 +0200 Subject: [PATCH] Stop running Pytests or pushing new API docs if only the changelog was updated. --- .github/workflows/pytest-frozen-ubuntu-20.04.yml | 6 ++++++ .github/workflows/pytest.yml | 6 ++++++ .github/workflows/tools-api-docs-dev.yml | 4 ++++ CHANGELOG.md | 2 +- 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest-frozen-ubuntu-20.04.yml b/.github/workflows/pytest-frozen-ubuntu-20.04.yml index 5faf8ce605..3267604c17 100644 --- a/.github/workflows/pytest-frozen-ubuntu-20.04.yml +++ b/.github/workflows/pytest-frozen-ubuntu-20.04.yml @@ -5,7 +5,13 @@ on: push: branches: - dev + paths-ignore: + - 'docs/**' + - 'CHANGELOG.md' pull_request: + paths-ignore: + - 'docs/**' + - 'CHANGELOG.md' release: types: [published] diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d03b1c33de..668d016d6f 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -5,7 +5,13 @@ on: push: branches: - dev + paths-ignore: + - 'docs/**' + - 'CHANGELOG.md' pull_request: + paths-ignore: + - 'docs/**' + - 'CHANGELOG.md' release: types: [published] diff --git a/.github/workflows/tools-api-docs-dev.yml b/.github/workflows/tools-api-docs-dev.yml index e52eee1331..a2bbb06d85 100644 --- a/.github/workflows/tools-api-docs-dev.yml +++ b/.github/workflows/tools-api-docs-dev.yml @@ -4,7 +4,11 @@ on: push: branches: - dev + paths-ignore: + - 'CHANGELOG.md' pull_request: + paths-ignore: + - 'CHANGELOG.md' release: types: [published] diff --git a/CHANGELOG.md b/CHANGELOG.md index 3863ce2e4e..158fb498c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ ### Download - Improved container image resolution and prioritization of http downloads over Docker URIs ([#2364](https://github.com/nf-core/tools/pull/2364)). -- Explicit container registry specifications will be ignored, so registries provided with `-l`/`--container-library` are used instead. ([#2403](https://github.com/nf-core/tools/pull/2403)). +- Registries provided with `-l`/`--container-library` will be ignored for modules with explicit container registry specifications ([#2403](https://github.com/nf-core/tools/pull/2403)). ### Linting