kaxil commented on pull request #16181:
URL: https://github.com/apache/airflow/pull/16181#issuecomment-853967925
> Is this file edited by release manager before release or needs to be
edited by any PR that adds new migration?
Added a pre-commit check which will now fail if migration is added but not
documented:
Example failure:
```
Verify that DB Migrations have been
documented...........................................Failed
- hook id: verify-db-migrations-documented
- exit code: 1
DB Migrations in following files have not been documented in
'/Users/kaxilnaik/Documents/GitHub/astronomer/airflow/docs/apache-airflow/migrations-ref.rst'
-
/Users/kaxilnaik/Documents/GitHub/astronomer/airflow/airflow/migrations/versions/0e2a74e0fc9f_add_time_zone_awareness.py
(Revision ID: '0e24c9f')
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]