diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 65d7d8c1..4531688e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -27,7 +27,7 @@ build: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make dev-doc post_build: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make mypy doc-coverage - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: '3.12' sphinx: diff --git a/.renovaterc.json b/.renovaterc.json index 6db9e634..ef42ca13 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -147,7 +147,7 @@ ], "postUpgradeTasks": { "commands": [ - "find template -type f -exec sed -i 's|{{{depName}}}-{{{currentValue}}}|{{{depName}}}-{{{newValue}}}|g' {} +" + "find template -type f -regex 'template/.*\.github.*/workflows/.*' -exec sed -i 's|{{{depName}}}-{{{currentValue}}}|{{{depName}}}-{{{newValue}}}|g' {} +" ] } }, diff --git a/template/.readthedocs.yaml.jinja b/template/.readthedocs.yaml.jinja index d3ee5a2a..5e58cfee 100644 --- a/template/.readthedocs.yaml.jinja +++ b/template/.readthedocs.yaml.jinja @@ -27,7 +27,7 @@ build: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make dev-doc post_build: - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH make mypy doc-coverage - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: '{{ default_py }}' sphinx: diff --git a/template/.renovaterc.json.jinja b/template/.renovaterc.json.jinja index 6198e224..eb5fee4e 100644 --- a/template/.renovaterc.json.jinja +++ b/template/.renovaterc.json.jinja @@ -161,7 +161,7 @@ ], "postUpgradeTasks": { "commands": [ - "find template -type f -exec sed -i {{ '\'s|{{{depName}}}-{{{currentValue}}}|{{{depName}}}-{{{newValue}}}|g\' {} +' }}" + "find template -type f -regex 'template/.*\.github.*/workflows/.*' -exec sed -i {{ '\'s|{{{depName}}}-{{{currentValue}}}|{{{depName}}}-{{{newValue}}}|g\' {} +' }}" ] } },