Andrushika opened a new pull request, #1582: URL: https://github.com/apache/airflow-site/pull/1582
## Why Currently, `check_and_bump_version.py` walks all files under `THEME_MODULE` and only skips `__pycache__` and `.DS_Store`. But it does not skip gitignored files like `sphinx_airflow_theme/sphinx_airflow_theme/static/_gen/`. That folder only exists after you run `./site.sh build-site` locally. Since CI never has it, the local hash and CI hash are different, and the `check-sphinx-theme-version` hook keeps saying "bump version" every time. I hit this while working on #1580. Every push, CI told me to bump. I bumped, pushed, CI told me to bump again. It never stops. ## What The fix uses `git ls-files --others --ignored --exclude-standard` to skip gitignored files, so local and CI compute the same hash. I also checked that the hash after this fix matches the currently stored hash on upstream main (`421d922...`), so this PR itself does not need a version bump. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.7) Generated-by: Claude Code (Opus 4.7) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
