Add prek hook to auto-update copyright year in NOTICE files#67146
Add prek hook to auto-update copyright year in NOTICE files#67146xchwan wants to merge 3 commits into
Conversation
Signed-off-by: Xch1 <qchwan@gmail.com>
|
This will have the undesirble side effect that all PRs will be failing 01.01.2027 when everyone who can help might be partying hard (and not wake up early next day). I am not sure we want it. If anything - this could be manual prek hook, and we should have workflow scheduled maybe every week or so to check if the year changed and post notification on slack in the |
|
I think the simplest fix is to strip the year check out of
How do you think about this? |
issue: #60540
Airflow has 170+ NOTICE files that required manual year updates annually (e.g. 2016-2025 → 2016-2026) with no automation in place.
Adds update-notice-year hook
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.