You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a PR is merged, the bot does some post-merge changes, but the README regeneration is skipped, for instance see OCA/l10n-italy@e4e5192, where the pre-commit run says:
> Run pre-commit run --all-files --show-diff-on-failure --color=always
pre-commit run --all-files --show-diff-on-failure --color=always
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.11.9/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.9/x64/lib
PY: ca87a0d061b6[2](https://github.com/OCA/l10n-italy/actions/runs/9807706147/job/27081983177#step:7:2)5c7086cb19f5a91f62afe3f5396bf8ede3a6cf7d7f1beb2bfde
SKIP: oca-gen-addon-readme
Update the repo configuration to use .md fragments.
Merge the PR.
Expected
post-merge changes convert the README
Actual
post-merge does not convert the README side-effect: all the developers working on the repo will have pre-commit failing and trying to add fragments conversion.
Describe the bug
After a PR is merged, the bot does some post-merge changes, but the README regeneration is skipped, for instance see OCA/l10n-italy@e4e5192, where the pre-commit run says:
(from https://github.com/OCA/l10n-italy/actions/runs/9807706147/job/27081983177#step:7:8).
Here something in the README gets updated, but it should also rename from
.rstto.mdthe fragments in https://github.com/OCA/l10n-italy/tree/e4e5192952d8dc259f92668a3c397a43c1f708a8/l10n_it_financial_statement_eu/readmeNow the problem is that the
oca-gen-addon-readmehook in localpre-commitruns fails because it tries to rename the mentioned fragments.To Reproduce
Steps to reproduce the behavior:
.rstfragments..rstfragments): the developer generates the README correctly..mdfragments.Expected
post-merge changes convert the README
Actual
post-merge does not convert the README
side-effect: all the developers working on the repo will have
pre-commitfailing and trying to add fragments conversion.